|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need help with ramping in VEX EasyC
We're trying a "For" loop and are having problems having both wheels to begin ramping. Can we insert both motors in the same "For" loop or do we have to use two "For" loops to have both motors ramp. After writing the program and trying to compile, we get an error[yy] message. This is our "For" loop statement below, and the line we receive our error in. Is this close or are we way off? Our goal is to use incrementing ramping to have the robot move in a straight line. Are we using the correct loop for using both wheels?
for ( step1 = 0 && step2 = 255 ; step1 < 127 && step2 > 127 ; step1 += 5 && step2 += 5 ) Team1611 South Effingham High School Georgia |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help needed with coding simultaneous movement (EasyC/VEX) | bodaciousllama | Programming | 7 | 14-08-2006 17:35 |
| EasyC-Vex Rx/motor frustrations- please help! | Steve0100 | Programming | 10 | 08-07-2006 02:18 |
| Speed Ramping with Deadzone | Dan894 | Programming | 11 | 20-01-2006 14:04 |
| Kickoff easyC workshop integrated into EasyC help file | Dan Larochelle | Programming | 0 | 11-01-2006 06:12 |
| hey need some help with writing a code please help me here | magical hands | Programming | 9 | 01-01-2004 21:46 |