|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
|||
|
|||
|
Re: paper: A programming template for Autonomous Mode
David,
I did a cut and paste of the code and inserted it in My user_routines_fast If I place the code in the autonomous section of the program I get the compile error. If I place it above with the other function declarations it compiles fine. Somebody with a greater knowledge of why C does what it does will have to explain why that happens. (I'm just a hacker..I like to stay on the hardware side of things...Instead of stupid compile errors we get blue smoke or sparks and that makes trouble shooting REAL easy!) Anyway, I assume you can place the code outside the autonomous area and still call it. I may be wrong but that MIGHT solve the problem. Steve PS ...Oh you're placing a function within a function. User_Autonomous_Code . I don't think that's legal. Steve Last edited by Steve_Alaniz : 05-02-2008 at 12:52. Reason: grammar |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A programming template for Autonomous Mode | garyk | Programming | 2 | 05-02-2008 20:08 |
| Help needed in autonomous programming for hybrid mode | Team_STORM | Programming | 3 | 21-01-2008 19:11 |
| White Paper Discuss: C Programming and Autonomous Modes for Newbies | cbolin | Extra Discussion | 3 | 09-01-2008 19:32 |
| Help for finding Autonomous Programming Template | vito3693 | VEX | 2 | 23-11-2006 19:01 |
| Programming Autonomous mode | Jared Stofflett | Programming | 3 | 11-11-2003 09:32 |