View Single Post
  #9   Spotlight this post!  
Unread 16-02-2012, 18:44
ONeill6330 ONeill6330 is offline
Registered User
no team (Arc Angels)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: ON
Posts: 4
ONeill6330 is an unknown quantity at this point
Re: Servo not working

Same servo issue for myself...
1) Used Arduino and servos move great...
2) Have jumpered pins in both jumpers beside PWM pins and wired in DSC correctly...

Wind Rriver code...
//member variables
Servo *S1;
Servo *S2;

//in Constructor
S1 = new Servo(6); //Pwm pin 6
S2 = new Servo(10); //pwm pin 10


//when enabled in TeleOperator mode
S1->Set(1.0);
S2->Set(0.5);


....does nothing....
any watch dogs or other lines of code needed for these...
???Something in code is not set or included here???
thoughts or ideas....

tried moving servo over to a Jaguar motor and jumpered but no action...
also tried Victor pin but no help either when jumpered.

Solved when I setup DSC to breakout board using 20A fuse...wired wrong....
before I got 1.1V now I get 6V on this PWM.

Last edited by ONeill6330 : 16-02-2012 at 20:10.