#define BLYNK_TEMPLATE_ID "TMPL3jafN1Syk"
#define BLYNK_TEMPLATE_NAME "HOME AUTOMATION"
#define BLYNK_AUTH_TOKEN "3XDb5wH6dSO-Tm2TLF45JVZHwU-3Z8yb"
#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 5
#define OLED 4
#define GLED 2
void setup()
{
Serial.begin(9600);
Blynk.begin(auth,ssid,pass);
pinMode(RLED,OUTPUT);
pinMode(OLED,OUTPUT);
pinMode(GLED,OUTPUT);
}
void loop()
{
Blynk.run();//take input
}