sylo1971
sylo1971
Hello. I'm still uncertain about the usage of this watchdog script. Is the code "while(1) delay(1000); // this will trigger the os watch" required ??? Or is "while(1);" required ?...
Tx so .... to be clear this part may safely be deleted, right ? void loop() { **last_loop = millis(); while(1) delay(1000); // this will trigger the os watch** }
And a second comment....in my case (and without entries in void loop() (see just above), this watchdog triggers every 10 seconds. I've replaced the "**ESP.restart();**" by "**Serial.print("Watchdog Ticker");**" and it...
Tx ! I just tested it....same result for me. It triggers every 10sec
Indeed...I don't get it....
With pleasure :-) Here you go ! #include #include #include #define USERNAME "yyyyyyy" #define DEVICE_ID "xxxxxxx" #define DEVICE_CREDENTIAL "zzzzzzz" ThingerWifi thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL); #include #include #include /********************* WATCHDOG ***********/ #define...
It's mainly the IDE proposed Serial2WIFI sketch integrated with Thinger. I've added the watchdog script... PS: and the reason is that the Serial2WIFI sketch seems to hang after a few...
Tx for your time and attention ! Regarding your "Case 1" remark, yes it could. I have a logger constantly sending requests and collecting answers at a rate of 2/sec....
Hello, First I'm not sure it is the right place to post my questions...but anyway (CorBer, is there a way to communicate directly ?). Now I've included the code as...
Tx for the answer. This is indeed what I did. A side effect seems to be that all ESP's are (of course) using the same channel and somewhat decrease the...