Hi, I have been working with Blynk and ESP for long time.
Today I updated a new code to my ESP-WROOM-02 module, but my module crash with message:
ets Jan 8 2013,rst cause:4, boot mode:(3,6).
Going deep in investigation of my code, I then remove function BLYNK_CONNECTED().
Guess what, it works, no crash.
To make sure,I do a simple code to test as below. I can then replicate the error, by add/remove BLYNK_CONNECTED() function.
FYI! Latest version 0.61 is used.
// **************************************************************
#include <BlynkSimpleEsp8266.h>
char auth[] = "0xxxxxxxxxxxxf"; //
char ssid[] = "Fvvvvvvvvvv0";
char pass[] = "Q777777777K";
void setup()
{
Serial.begin(115200);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
if(Blynk.connected())
{
Blynk.run();
Serial.println("Running.");
delay(5000);
}
else
{
Serial.println("Not connected!");
}
}
// ********************************************************************************
BLYNK_CONNECTED()
{
Serial.println(" Connected.....");
Blynk.syncAll();
}