Can't flash new firmware via Web IDE

BTW - i think i’ve found reason
that’s Blynk library
after I flashed code to my device - its stated to misbehave
so had to reset my device again …

Blynk requires a VERY specific order when declaring their libraries and defines.
Please take a look at this post in the Blynk community, which in short says to do it exactly like this:

#define BLYNK_PRINT Serial // Defines the object that is used for printing
#define BLYNK_DEBUG        // Optional, this enables more detailed prints
#define BLYNK_TEMPLATE_ID "myID"
#define BLYNK_DEVICE_NAME "myNAME"

// This #include statement was automatically added by the Particle IDE.
#include <blynk.h>
1 Like