Im working on smart parking management project im using servo motor for automatic gate opening im uploading sweep code but the servo is not rotating but it's vibrating Use code tags to format code for the forum
it's vibrating`
#include <Servo.h>
Servo myServo;
void setup() {
myServo.attach(9);
}
void loop() {
myServo.write(0);
delay(2000);
myServo.write(180);
delay(2000);
}


