Due Servo Pins


I was wondering what are the limitations for attaching servo motors to the arduino due? I know on the Uno and Mini they can mess with the millis() functions etc. if you attach them to certain pins. Can I attach them to any digital pin?


If you use the hardware servo library (Hardware Servo: Example Code - Arduino Due - Arduino Forum) you can attach up to eight servos at once. This method uses an independent clock and will have no effect on the timers or functions like millis().

On the Due millis() is driven by the ARM's systick counter, unlike other Arduinos it will have no affect on any of the counter/timers used for PWM (or anything else for that matter).