Resources » Pololu Zumo Shield for Arduino User's Guide » 7. Controlling a servo »7.b. Controlling a servo with an Arduino LeonardoIt is possible to modify the Servo library that comes with the Arduino IDE to use Timer 3 instead of Timer 1 on the Arduino Leonardo. The modified Servo library does not interfere with the ZumoMotors library, making it possible to simultaneously control servos and the motors. Warning: The modifications described here will affect any sketch for the Arduino Leonardo that uses the Servo library.
The Arduino IDE will automatically incorporate your modifications to the Servo library. The next time you compile a sketch for the Arduino Leonardo that uses the Servo library, it will use Timer 3 instead of Timer 1. |
|
Log In
|
Wish Lists
|
BIG Order Form
|
Shopping Cart
US toll free: 1-877-7-POLOLU ~
(702) 262-6648 |
|||||||||||||
| Catalog | Forum | Resources | Distributors | Ordering | About | Contact | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|