#include <ESP32Servo.h> //download this library from library manager
Servo s;
int p=0;
void setup() {
Serial.begin(115200);
s.attach(4);
}
void loop() {
for(p=0;p<100;p++)
{
s.write(p);
delay(100);
}
}
#include <ESP32Servo.h> //download this library from library manager
Servo s;
int p=0;
void setup() {
Serial.begin(115200);
s.attach(4);
}
void loop() {
for(p=0;p<100;p++)
{
s.write(p);
delay(100);
}
}