|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#6
|
|||
|
|||
|
To use during practice, and for general safety. Also, the values of the joysticks will be set to 0, as will all digital inputs.
Consequently, that code would work in the match, and during practice. However, I made a mistake - & is reserved for bit math. This is the right code: if ((p1_sw_trig = 0) AND (p1_sw_top = 0)) then 'autonomous code else 'nonautonomous code endif |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| White Paper Discuss: Dual Motor Gearbox - 2003 | CD47-Bot | Extra Discussion | 6 | 08-04-2004 19:46 |
| Some code in C that we may need if we are in trouble | Andrew Rudolph | Chit-Chat | 16 | 07-10-2003 21:34 |
| White Paper Discuss: Woodie Flowers entry for Andy Baker (2003) | CD47-Bot | Extra Discussion | 2 | 18-05-2003 08:06 |
| White Paper Discuss: CopyCat Code v1.1 | CD47-Bot | Extra Discussion | 7 | 31-03-2003 12:37 |
| White Paper Discuss: HeatWave 2003 Handheld DB (Beta Version) | CD47-Bot | Extra Discussion | 4 | 07-03-2003 20:22 |