summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--det_hele/det_hele.ino3
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(", ");