#define BLYNK_PRINT Serial #include #include // You should get Auth Token in the Blynk App. // Go to the Project Settings (nut icon). char auth[] = "tJl4gn07mpbYTCXOtcxFekB0f4Y9uSbU"; // Your WiFi credentials. // Set password to "" for open networks. char ssid[] = "Red JP"; char pass[] = "Wav3%jp76"; // Your ESP8266 baud rate: #define ESP8266_BAUD 38400 ESP8266 wifi(&Serial); void setup() { // Debug console Serial.begin(9600); // Set ESP8266 baud rate Serial.begin(ESP8266_BAUD); delay(10); Blynk.begin(auth, wifi, ssid, pass); // You can also specify server: //Blynk.begin(auth, wifi, ssid, pass, "blynk-cloud.com", 80); //Blynk.begin(auth, wifi, ssid, pass, IPAddress(192,168,1,100), 8080); } void loop() { Blynk.run(); // You can inject your own code or combine it with other sketches. // Check other examples on how to communicate with Blynk. Remember // to avoid delay() function! }