Pages: [1]   Go Down
Author Topic: Only Dig-Pin 9-10 works with the servos on my Due  (Read 435 times)
0 Members and 1 Guest are viewing this topic.
Cambridge (UK)
Offline Offline
Jr. Member
**
Karma: 0
Posts: 59
fura ura
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello

I wonder whether I need to setup something so I can use the other PWM pins on my Duemilanove to control servos. For some reasons only pin 9 - 10 works.

Any help appreciated!
best
Krisztian
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 51
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It sounds like you're using an older library. I recall that limitation being around earlier. Is your software up to date?
Logged

Cambridge (UK)
Offline Offline
Jr. Member
**
Karma: 0
Posts: 59
fura ura
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi, 0013 alpha. I am downloading 016...

I tried the simplest one, Sweep. I checked pin 3, 5, 6 and 11, for some reasons the servo does not move... any other suggestions I could try?
thank you.

K
Logged

London
Offline Offline
Tesla Member
***
Karma: 10
Posts: 6255
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

9 and 10 are the only pins supported using the official Arduino servo library. If you want to use other pins then you can use the megaservo library: http://www.arduino.cc/playground/Code/MegaServo
Logged

Cambridge (UK)
Offline Offline
Jr. Member
**
Karma: 0
Posts: 59
fura ura
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Aha... thank you! It works:)
best
K
Logged

Pages: [1]   Go Up
Jump to: