|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Am i just not seeing it?
Every time i compile this code for our ramp control, itll tell me that i have a syntax error, when nothing is wrong.
Here it is: Problem is here!---> static void do_manual_override( void ) { if (left_ramp_up == CLOSED) { left_motor_pwm = motor_up; } else if (left_ramp_down == CLOSED) { left_motor_pwm = motor_down; } else left_motor_pwm = motor_off; if (right_ramp_up == CLOSED) { right_motor_pwm = motor_up; } else if (right_ramp_down == CLOSED) { right_motor_pwm = motor_down; } else right_motor_pwm = motor_off; } Any feedback is appreciated! |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: Just was not enough room | Rich Wong | Extra Discussion | 6 | 15-04-2005 18:58 |
| It's not just about the competition! | Franchesca | General Forum | 8 | 28-07-2004 13:31 |
| digital inputs not valid just after initialization? | WizardOfAz | Programming | 2 | 26-01-2004 13:21 |
| NO, I'm not just reviving a dead forum | Hubicki | Rules/Strategy | 6 | 14-07-2002 17:44 |