|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#5
|
|||
|
|||
|
In the old PBASIC syntax, IF...THEN loops can only be directed to a label, you can't put a command after the THEN statement. Working could would be something along the lines of:
IF rc_sw1 = 1 THEN motor_fwd *insert code here for the rc_sw1 <> 1 condition* motor_fwd: drive_L = 190 Also, what optical sensors are you using? If you're using the banner sensors from last year, the 7.2 volt battery pack that came with the EduBot won't be enough to power them. You'll have to use an external circuit that delivers 10-30 V (consider 2 9V batteries in series). |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vanilla Coke..good? bad? | A. Leese | Chit-Chat | 41 | 07-01-2004 00:15 |
| Check this stuff out: good websites | LBK Rules | Chit-Chat | 3 | 15-01-2003 10:28 |
| What makes the Good, So good? | Chris | General Forum | 16 | 18-07-2002 11:09 |
| your favorite music and tipps about good new rock music | PsychoPhil | Chit-Chat | 26 | 03-07-2002 01:19 |
| IT to be revealed on Good Morning America | Joe Ross | Dean Kamen's Inventions | 50 | 13-12-2001 09:53 |