#define BLYNK_PRINT Serial
#define BLYNK_TEMPLATE_ID "TMPL6euNXqaWN"
#define BLYNK_TEMPLATE_NAME "LAMPU"
#define BLYNK_AUTH_TOKEN "h06VcHl9jT243ofZzSA77usYfnW5-OE1"
#define LED 4

#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>

char auth[] = "h06VcHl9jT243ofZzSA77usYfnW5-OE1";
char ssid[] = "Wokwi-GUEST";
char pass[] = "";

BlynkTimer timer;

BLYNK_WRITE(V2)
{
 int pinValue = param.asInt();
 digitalWrite(LED,pinValue);
}

void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth, ssid, pass);
  pinMode(LED, OUTPUT);
}

void loop()
{
  Blynk.run();
  timer.run();
}
esp:VIN
esp:GND.2
esp:D13
esp:D12
esp:D14
esp:D27
esp:D26
esp:D25
esp:D33
esp:D32
esp:D35
esp:D34
esp:VN
esp:VP
esp:EN
esp:3V3
esp:GND.1
esp:D15
esp:D2
esp:D4
esp:RX2
esp:TX2
esp:D5
esp:D18
esp:D19
esp:D21
esp:RX0
esp:TX0
esp:D22
esp:D23
led1:A
led1:C
r1:1
r1:2