#include <Servo.h>
int servoPin = 10;
int servoPos = 0;
Servo gate;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
gate.attach(servoPin);
}
void loop() {
// put your main code here, to run repeatedly:
gate.write(servoPos);
}