#define BLYNK_TEMPLATE_ID "TMPL3DqmbRESl"
#define BLYNK_TEMPLATE_NAME "Home automation"
#define BLYNK_AUTH_TOKEN "E3buJwwBGFykdE8vGFGw4ZgquIyS5f7_"
#define BLYNK_PRINT Serial
char auth[]=BLYNK_AUTH_TOKEN;
char ssid[]="Wokwi-GUEST";
char pass[]="";
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
#define RLED 2
#define OLED 4
#define GLED 5
void setup()
{
Serial.begin(9600);
Blynk.begin(auth,ssid,pass);
pinMode(RLED,OUTPUT);
pinMode(OLED, OUTPUT);
pinMode(GLED, OUTPUT);
}
void loop()
{
Blynk.run();
}