Making a Servo spin for set amount of time

You should probably add this to setup():
Servo1.write (posStop);

Are you sure your 'posStop' value is correct for your servo?

1 Like