|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#6
|
|||||
|
|||||
|
Re: OI Input Autonomous
You made the name of the function the same as the name of the variable it's trying to set. That's what most of your compiler errors are about. You should probably change it back to auton_selector the way it was in the example. You also misspelled User_Mode_byte with a capital B.
To declare a global variable, do it at the top of user_routines.c where it says DEFINE USER VARIABLES AND INITIALIZE THEM HERE. Oh, and I believe there was a typo in the example code. It looks like the 94 ought to be 99 instead. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| User Input | railerobotics | Programming | 4 | 29-08-2006 00:54 |
| Powered OI input | EricS-Team180 | Programming | 7 | 28-09-2003 21:23 |
| Graphic Input | Raven_Writer | Computer Graphics | 7 | 08-08-2003 15:43 |
| Autonomous user-input loophole? | Jeff McCune | Programming | 20 | 14-02-2003 22:44 |
| 2.5 is alive !!!! (input ! .. more input ! ) | Lloyd Burns | Programming | 2 | 14-01-2003 19:15 |