#define BLYNK_PRINT Serial
#define BLYNK_TEMPLATE_NAME "led2"
#define BLYNK_TEMPLATE_ID "TMPL3pwo9fo3i"
#define BLYNK_AUTH_TOKEN "vwAEXx-T_h7qBeRlBxS9NQlHaL2Szgqy"
/* Fill in information from Blynk Device Info here */
//#define BLYNK_TEMPLATE_ID "TMPxxxxxx"
//#define BLYNK_TEMPLATE_NAME "Device"
//#define BLYNK_AUTH_TOKEN "YourAuthToken"
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "Wokwi-GUEST";
char pass[] = "";
void setup()
{
// Debug console
pinMode(4, OUTPUT);
WiFi.begin(ssid,pass);
Serial.begin(9600);
Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);
}
void loop()
{
Blynk.run();
}