#define BLYNK_PRINT Serial
#define BLYNK_TEMPLATE_ID "TMPL6KvBbKrKo"
#define BLYNK_TEMPLATE_NAME "4009Servo"
#define BLYNK_AUTH_TOKEN "_hHKvJn3guAb8Y1Db_HCoK3pew6WMpGF"
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
#include <ESP32Servo.h>
Servo servo;
char auth[] = BLYNK_AUTH_TOKEN;
char ssid[] = "Wokwi-GUEST";
char pass[] = ""; void setup()
{
Serial.begin(115200);
Blynk.begin(auth,ssid,pass); servo.attach(5);
}
BLYNK_WRITE(V1)
{ servo.write(param.asInt());
}void loop()
{
Blynk.run();
}