|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Code to shift with Servos
Okay, well, I'm not our team's programmer but I understand how this works and I cannot for the life of me get these servo shifters on the AM super shifter to do anything. They quite literally do nothing, no turnning or anything. I have been combing the forums for a solution but I am a bit short on time so I just figured I would post the problem. These are the new AM super shifters we are using with servos provided. The code is:
if (pl_sw_trig == 1) { pwm15 = 255 pwm16 = 255 } else { pwm15 = 0 pwm16 = 0 } if (pl_sw_top == 1) { pwm15 = 0 pwm16 = 0 } else { pwm15 = 255 pwm16 = 255 } Do you see anything wrong with what we are doing? or any other information needed to know what's wrong? EDIT: We hooked up the servo to a standard RC controller with a servo controller... It worked perfectly. Help? Last edited by dormedas : 15-02-2008 at 19:40. Reason: New info |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| To Shift or Not To Shift, That is the Question | AdamC | Technical Discussion | 15 | 08-11-2007 14:00 |
| using servos with camera | team877 | Programming | 2 | 01-02-2007 21:26 |
| Are Spikes needed with servos? | aksimhal | Electrical | 9 | 23-01-2007 20:27 |
| To shift or not to shift? | sanddrag | Technical Discussion | 61 | 15-04-2003 22:56 |
| Can RC servos be used with EDUbot? | ChrisH | Technical Discussion | 4 | 31-12-2002 01:45 |