#define BLYNK_TEMPLATE_ID "TMPLu0hpnoDk"
#define BLYNK_TEMPLATE_NAME "Home Automation"
#define BLYNK_AUTH_TOKEN "5J24Tl4nq1yRtbiHWxHeeqXEreiGxWY1"
#define BLYNK_PRINT Serial
#include <Wifi.h>
#include <WifiClient.h>
#include <BlynkSimpleEsp32.h>
char auth[]=BLYNK_AUTH_TOKEN;
char ssid[]="Wokwi.GUEST";
char pass[]="";
BlynkTimer timer;
#define tombol1_pin 26
#define tombol2_pin 25
#define tombol3_pin 33
#define tombol4_pin 32
#define relay1_pin 13
#define relay2_pin 12
#define relay3_pin 14
#define relay4_pin 27
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}