i got this error
Use Mac , ESP8266 , Library 0.4.0
#define BLYNK_DEBUG #define BLYNK_PRINT Serial // Comment this out to disable prints and save space #include <ESP8266WiFi.h> #include <BlynkSimpleEsp8266.h>
//#include <BlynkWrongInclude.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “eeeeeeeeeeeeeeeee”; #define WIFI_SSID “yyyy” #define WIFI_PASSWORD “xxxx”
I had this same problem: worked fine at first, but then had connection issues. Turned out that I had installed the Cayenne library, which uses Blynk and includes its own (obsolete) copy of the library. And the Arduino IDE isn’t smart enough to use the latest version. I removed Cayenne, and Blynk started working again!
#define BLYNK_DEBUG
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = " 375b9b7117c0470fac0c118b5af9e315";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "sha.sha";
char pass[] = "1111111111";
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
while (Blynk.connect() == false) { // try to connect to server for 10 seconds
}
}
void loop()
{
Blynk.run();
}
If this error is blynk.cc you are not using 0.4.7.
Server was changed to cloud-blynk.com around 12 months ago.
Don’t post unformatted code to the forum.