|
@ -11,9 +11,9 @@ |
|
|
// Number of readings to average
|
|
|
// Number of readings to average
|
|
|
#define BUFFER_SIZE 24 |
|
|
#define BUFFER_SIZE 24 |
|
|
// Interval between readings in milliseconds
|
|
|
// Interval between readings in milliseconds
|
|
|
#define SLEEP_INTERVAL 1000 |
|
|
#define SLEEP_INTERVAL 1000 // ----> TODO 5000
|
|
|
// Duration of average temperature display
|
|
|
// Duration of average temperature display
|
|
|
#define TEMPERATURE_DISPLAY_DURATION 2000 |
|
|
#define TEMPERATURE_DISPLAY_DURATION 2000 // ----> TODO 10000
|
|
|
// Number of digits on the display
|
|
|
// Number of digits on the display
|
|
|
#define NUMBER_OF_DIGITS 4 |
|
|
#define NUMBER_OF_DIGITS 4 |
|
|
// Pin layout
|
|
|
// Pin layout
|
|
@ -38,6 +38,7 @@ |
|
|
// Temperature thresholds
|
|
|
// Temperature thresholds
|
|
|
#define LOW_TEMP 28 |
|
|
#define LOW_TEMP 28 |
|
|
#define HIGH_TEMP 28 |
|
|
#define HIGH_TEMP 28 |
|
|
|
|
|
#define HIGH_TEMP_RELAY 32 |
|
|
// Distance threshold
|
|
|
// Distance threshold
|
|
|
#define DIST_THRESHOLD 10 |
|
|
#define DIST_THRESHOLD 10 |
|
|
|
|
|
|
|
|