New answers tagged

1

One small suggestion: setup(), is, as described, only meant to run once, at startup. Once setup() is finished, loop() will be called in an infinite loop. So you could remove your while(true) loop from setup, and move the code to loop: #include <ESP8266WiFi.h> #define DIM(arr) (sizeof (arr) / sizeof (arr)[0]) const char *ssids[] = { "Never ...


Top 50 recent answers are included