diff options
author | Linnnus <[email protected]> | 2024-04-19 11:22:58 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2024-04-19 11:22:58 +0200 |
commit | 29458f94f2b77061a3d6c27e2996f05d0a15ee1f (patch) | |
tree | f48b324354b803ff1ce1dbe294c30fe94f33024c | |
parent | a9353001743edc3fafd46771e70229af66d6a1e8 (diff) |
Misc. cleaning
-rw-r--r-- | det_hele/det_hele.ino | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/det_hele/det_hele.ino b/det_hele/det_hele.ino index c4f5939..d1e7f89 100644 --- a/det_hele/det_hele.ino +++ b/det_hele/det_hele.ino @@ -16,7 +16,6 @@ const uint8_t WEIGHT_DATA_PIN = 7; // Reads data from HX711 (DT) const uint8_t WEIGHT_CLOCK_PIN = 6; // Drives HX711 output. (SCK) HX711 scale; int WEIGHT_SAMPLE_AMOUNT = 5; // amount of samples of each observation. -int AWARE_TIME = 2000; //amount of miliseconds in the aware state. // Pins used to interact with rotary dial circuit. const uint8_t DIAL_DATA_PIN = 5; // Reads data from PISO (4021). @@ -33,6 +32,7 @@ enum { STATE_RINGING, } state; +const unsigned int AWARE_TIME = 2000; //amount of miliseconds in the aware state. unsigned long awareStartTime; const double MAX_DEVIATION = 200; @@ -133,7 +133,6 @@ uint8_t dialRead() { data = 0; } - //uint8_t data = shiftIn(PISO_DATA_PIN, PISO_CLOCK_PIN, MSBFIRST); Serial.print("Number: "); Serial.print(data, DEC); Serial.print(", "); |