debug: add sensor update timing globals
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#define RELAY_SHIFT_REGISTER_PIN 255
|
||||
|
||||
// GPIO4 is used by the LilyGO relay shift-register OE pin.
|
||||
#define ONEWIRE_PIN 21
|
||||
#define ONEWIRE_PIN 15
|
||||
|
||||
#define IGNITION_PIN 34
|
||||
|
||||
|
||||
@@ -1509,6 +1509,9 @@ setInterval(load,3000);
|
||||
|
||||
WebServer server(80);
|
||||
|
||||
unsigned long lastSensorUpdate = 0;
|
||||
const unsigned long SENSOR_INTERVAL = 5000;
|
||||
|
||||
#define API_V1(path) "/api/v1" path
|
||||
|
||||
int findTempConfigIndexById(const String& id) {
|
||||
|
||||
Reference in New Issue
Block a user