Pages: [1]   Go Down
Author Topic: Arduino servos  (Read 597 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


The page of the arduino servo library says that use of the servo blocks PWM pins 9 and 10, is this also the case for the Due (as it uses a different core)

Offline Offline
Shannon Member
Karma: 222
Posts: 12725
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No, the Due is completely different hardware.  It may also be the case that there are
clashes between the Servo timer(s) used and some PWM pins, that probably involves
reading the code and pinout details to be sure. 

On the Due some of the PWM pins use the native PWM peripherals to drive them and
others use the TC (timer counter) peripherals.  The Servo library uses some of the
channels of some of the TC units - I would ferret around in the sources
to work out what's going on, but you need to know your way around a bit to do that.


is a good file to start with, has lots of pin definitions.

And the defnitions in


show which TC units/channels the Servo library uses.

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: