#define BLYNK_PRINT Serial
#define BLYNK_TEMPLATE_ID "TMPL608a_hhrZ"
#define BLYNK_TEMPLATE_NAME "Pengendalian LED"
#define BLYNK_AUTH_TOKEN "oFMLx1ikqcf0MtIExqvUaw5RnlqOVZrF"
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
char auth[] = BLYNK_AUTH_TOKEN;
char ssid[] = "Wokwi-GUEST";
char pass[] = "";
#define LED1 2
#define LED2 4
#define LED3 5
void setup()
{
Serial.begin(9600);
Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);
pinMode(2, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
}
void loop()
{
digitalWrite(2, HIGH);
digitalWrite(4, HIGH);
digitalWrite(5, HIGH);
delay(500);
Blynk.run();
}