#define BLYNK_TEMPLATE_ID "TMPL6UrbD0iZn"
#define BLYNK_TEMPLATE_NAME "TEMPLATE A"
#define BLYNK_AUTH_TOKEN "flqMENrgeimvlpQIgJ62FnXtFp8LG879"
#include <WiFi.h>
#include <BlynkSimpleEsp32.h>
#define pin_led 23
#define AUTH BLYNK_AUTH_TOKEN
#define WIFI_AP "Wokwi-GUEST"
#define WIFI_PASS ""
BLYNK_WRITE(V0){
int pinValue = param.asInt();
digitalWrite (pin_led, pinValue);
}
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
pinMode(pin_led, OUTPUT);
Blynk.begin(AUTH, WIFI_AP, WIFI_PASS);
}
void loop() {
// put your main code here, to run repeatedly:
Blynk.run();
}