#define BLYNK_PRINT Serial #include #include // include BlynkSimpleEsp8266 in this folder "Docunment > Arduino > Library" // You should get Auth Token in the Blynk App. // Go to the Project Settings (nut icon). char auth[] = "a7a91cda22f144de92748ba0c9a4674a"; // replace yout auth token here. // Your WiFi credentials. // Set password to "" for open networks. char ssid[] = "Parth"; //Wifi SSID Name char pass[] = "12345678"; //Wifi Password void setup() { // Debug console Serial.begin(9600); pinMode(D1,OUTPUT); pinMode(D2,OUTPUT); pinMode(D3,OUTPUT); pinMode(D4,OUTPUT); digitalWrite(D1,HIGH); digitalWrite(D2,HIGH); digitalWrite(D3,HIGH); digitalWrite(D4,HIGH); Blynk.begin(auth, ssid, pass); // You can also specify server: //Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 8442); //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8442); } void loop() { Blynk.run(); }