|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Autonomous Code trouble
can anyone find whats wrong with this code ?
static unsigned int t; while (autonomous_mode) /* DO NOT CHANGE! */ { if (statusflag.NEW_SPI_DATA) /* 26.2ms loop area */ { Getdata(&rxdata); /* DO NOT DELETE, or you will be stuck here forever! */ /* Add your own autonomous code here. */ t++; if (t <114) { pwm01=160; pwm02=160; } i know this should run indefinitely....and that is the goal right now......but everytime i compile everything and load the code.....it doesnt work (this is the autonomous code i wrote for the user_routines_fast.c area where it says autonomous code here..) any help would be much appeciated please reply or email me at Johnbk14@gmail.com |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best Way To Insert Autonomous Code Into Default then load help.? :-)? | gemccnp | Programming | 2 | 05-02-2005 18:58 |
| Team THRUST - Kevin's Code and Camera Code Combine | Chris_Elston | Programming | 3 | 31-01-2005 22:28 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |
| InfraRed autonomous code ... | mtrawls | Programming | 1 | 11-01-2004 00:25 |