diff --git a/core/thingz.ino.txt b/core/thingz.ino.txt index 35362afda2d71946877b1aac62be44d8e2c0ef2f..50b98d5e6c28b34337d8a2e5d9642a86e3cc809b 100644 --- a/core/thingz.ino.txt +++ b/core/thingz.ino.txt @@ -10,7 +10,7 @@ #define HEADER_LIGHT_ON "LIGHT" #define HEADER_SOUND_ON "SOUND" #define REMAINING_TIME 300000 // 5MIN -#define DATASPAN 300000 // 5MIN +#define DATASPAN 10000 // 5MIN #define ALARMSPAN 10000 // 10SEC #define FAb4 740 #define LAb4 932 @@ -92,7 +92,8 @@ void receiveFromBluetooth() { if (bluetooth.dataAvailable()){ buffer = bluetooth.receive(); } - + + monEcran1.printMsg(buffer,0); if (buffer.startsWith(HEADER_LIGHT_ON)){ dealWithLight(); } @@ -129,7 +130,6 @@ void setup() humi = 0; humiTerre = 0; timeStamp = 0; - ledHasBeenTurnedOn = false; alarmHasBeenTurnedOn = false; timePushed = 0;