Pages: [1]   Go Down
Author Topic: Due Servo Pins  (Read 635 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey,

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?

Cheers!
Logged

Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you use the hardware servo library (http://forum.arduino.cc/index.php?topic=130631.0) 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().
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8594
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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).

_____
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Pages: [1]   Go Up
Jump to: