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