#define BLYNK_TEMPLATE_ID "TMPL6_PmWLUWO"
#define BLYNK_TEMPLATE_NAME "Slider Servo"
#define BLYNK_AUTH_TOKEN "gyY9t8-DRkHemejrtgitF7avO6I8fYB_"
#include <WiFi.h>
#include <BlynkSimpleEsp32.h>
#include <ESP32Servo.h>
Servo myservo;
#define ssid "Wokwi-GUEST"
#define pass ""
int Degree = 0;
String Text = "";
BLYNK_WRITE(V3){
Degree = param.asInt();
myservo.write(Degree);
Blynk.virtualWrite(V3, "Current Degree is: " + String(Degree) );
}
void setup() {
Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);
myservo.attach(15);
}
void loop() {
Blynk.run();
delay(10);
}