#define BLYNK_TEMPLATE_ID "TMPL3wF-bTPYu"
#define BLYNK_TEMPLATE_NAME "Homeautomation"
#define BLYNK_AUTH_TOKEN "ydI06i65QMh8B_5Ay6_we-ak7rJTpvoe"
#define BLYNK_PRINT Serial
char auth[]=BLYNK_AUTH_TOKEN;
char ssip[]="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,ssip,pass);
pinMode(RLED , OUTPUT);
pinMode(OLED , OUTPUT);
pinMode(GLED , OUTPUT);
}
void loop()
{
Blynk.run();
}