Clone & Edit Download Edit
Continuous_rotation_servo_calibration.ino
1
2
// This is for a Continuous rotation servo, different than a normal servo. A pulse of 1.5ms tells the servo to stay put (no rotation). A pulse that is 1.3ms to < 1.5ms tells it to rotate one direction. A pulse > 1.5ms to 1.7ms tells it to rotate the other direction. A 20ms pause between pulses ensures correct operation.
// by Garrett, modified from the example by BARRAGAN <http://barraganstudio.com>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX