Go Down

Topic: Due Servo Pins (Read 713 times) previous topic - next topic

jimbles

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!

drm0hr

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

Graynomad

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
Rob Gray aka the GRAYnomad www.robgray.com

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy