diff --git a/examples/advanced_MultiOneWireTemperature/advanced_MultiOneWireTemperature.ino b/examples/advanced_MultiOneWireTemperature/advanced_MultiOneWireTemperature.ino index fb4d380..c7935ab 100644 --- a/examples/advanced_MultiOneWireTemperature/advanced_MultiOneWireTemperature.ino +++ b/examples/advanced_MultiOneWireTemperature/advanced_MultiOneWireTemperature.ino @@ -14,8 +14,8 @@ * Demands adding libraries OneWire and DallasTemperature **/ -#include "Endpoints/EndpointTemperature.h" #include "HomeControlMagic.h" +#include "Endpoints/EndpointTemperature.h" // in Config file define ethernet options #include "arduinoWrapper/ArduinoConfig.h" @@ -26,6 +26,7 @@ #include //#define DEBUG +#define READ_TIME 30 // sensor reading time in seconds #define MAX_DEVICES 30 // Just a random number to avoid crazyness IPAddress gw_ip = {192, 168, 0, 55};