These are chat archives for esp8266/Arduino

Jun 2017
Jun 23 2017 19:06
@bertmelis Hi, regarding the stack dump problem w/ above: I checked with the ICACHE_RAM_ATTR, still the same problem.
I also added some time stamps - in it takes ~4sec between the "connecting" and "connected" debug statement. If there's a ISR called (button pushed), I get an stack trace as described above.
I think it needs to be rewritten to decouple the WiFi.begin() and getting the result in the while loop
Jun 23 2017 19:12
// wait for connection or fail
                while(status != WL_CONNECTED && status != WL_NO_SSID_AVAIL && status != WL_CONNECT_FAILED) {
                    status = WiFi.status();
Does that make sense?