#define BLYNK_TEMPLATE_ID "TMPL6TxKtXX5e"
#define BLYNK_TEMPLATE_NAME "No"
#define BLYNK_AUTH_TOKEN "UbXHj9fMTxjcZz1YsA4mcVO7KJy1KW7j"
#include <WiFi.h>
#include <BlynkSimpleEsp32.h>
#include <ESP32Servo.h>
Servo myservo;
#define ssid "Wokwi-GUEST"
#define pass ""
int Degree = 0;
BLYNK_WRITE(V0){
Degree = param.asInt();
myservo.write(Degree);
Blynk.virtualWrite(V1, "Current Degree is: " + String(Degree) );
}
void setup() {
Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);
myservo.attach(13);
}
void loop() {
Blynk.run();
delay(10);
}