diff options
author | IvDm <43366555+IvDm@users.noreply.github.com> | 2020-01-09 01:40:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-09 01:40:40 +0300 |
commit | 3e04b9bf74722c472aa886a0acf7d990d1203f6d (patch) | |
tree | fc1b79d441cfbc7e9361b9b4a565dca5536069a4 | |
parent | 856726a91c327cd30f018000897f46c5c5640ab0 (diff) |
Update strain_gage_switch_ATtiny85.ino
-rw-r--r-- | strain_gage_switch_ATtiny85.ino | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/strain_gage_switch_ATtiny85.ino b/strain_gage_switch_ATtiny85.ino index 75a6442..4e8e747 100644 --- a/strain_gage_switch_ATtiny85.ino +++ b/strain_gage_switch_ATtiny85.ino @@ -6,8 +6,7 @@ #include <HX711.h>
#define ledPin 0 //Pin indicator LED
#define switchPin 2 //Switch pin
-const int LOADCELL_DOUT_PIN = A3;
-const int LOADCELL_SCK_PIN = A2;
+HX711 scale(A3,A2);
HX711 scale;
void setup() {
|