Parameterized Servo sweep for Arduino

Whether I like it or not, Arduino is here to stay.
The servo library is very handy, but the example that sweeps a servo is not that great when it comes to ease of change. The code below has a few useful #defines that can be used to change the sweep behaviour.

Leave a Reply