Making a Servo spin for set amount of time

From Servo.h Library

void write(int value); // if value is < 200 its treated as an angle, otherwise as pulse width in microseconds 
void writeMicroseconds(int value); // Write pulse width in microseconds 
1 Like