Blynksimpleesp8266 H Library Zip -
Serial.begin(9600); Blynk.begin(auth, ssid, pass); // For Blynk Legacy local server, use: // Blynk.begin(auth, ssid, pass, "192.168.1.100", 8080);
This is the most critical section.
In this example, the BLYNK_WRITE() macro is used to define a function that will be called when the virtual pin V1 receives data from the Blynk app. The function sets the state of the LED connected to pin D4 based on the received data. blynksimpleesp8266 h library zip