Hi, I am trying to control 3 servos with a Xiao ESP32-S3 board, I thoguht that I can use the ESP32 Servo library, but it doesn't work. I tried a lot of libraries, change the pins for GPIO's, but no luck. Can you help me please?
#include <ESP32Servo.h>
Servo myservo;
Servo myservo2;
Servo myservo3;
Servo myservo4;
void setup() {
myservo.attach(A0);
myservo2.attach(A10);
myservo3.attach(A4);
myservo4.attach(A8);
}
void loop() {
myservo.write(0);
delay(3000);
myservo2.write(10);
delay(3000);
myservo3.write(20);
delay(3000);
myservo4.write(30);
delay(3000);
}
