Add temperature hysteresis
Do not refresh display if value not changed
This commit is contained in:
@@ -32,6 +32,7 @@ void setup() {
|
||||
TaskTimer.attachInterruptInterval_MS(20, TasksHandler);
|
||||
TasksISRs.setInterval(PERIOD_MS, runMetronome);
|
||||
TasksISRs.setInterval(PERIOD_MS, readTemperature);
|
||||
// TODO: move display from ISR to loop()
|
||||
TasksISRs.setInterval(200, updateTube);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user