|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Default Code error?
So this compiles correctly without printfs? Or has it never worked correctly? If it has been built successfully at some point, what edit exactly caused the error?
|
|
#2
|
|||
|
|||
|
Re: Default Code error?
WE FIXED IT!!!!
Thanks everyone for your help. We didn't know where to put the Default_Routines(); but as you will see we found it was already there and in the right place. If this is happening to anyone else here is what we did: 1) in MPLAB under build options we have: -set our output directory -include in search path= "c:\mcc18\h" -Library searchpath ="c:\mcc18\lib" -linker skript="c:\mc18\lkr" 2) in Kevins code in the file "teleop.c" Make sure to find where it says: void Teleop(void) { // enable this to use IFI's default robot code //Default_Routine(); // located in ifi_code.c // update the state of the LEDs on the operator interface Update_OI_LEDs(); // located in ifi_code.c } and uncomment Default_Routine(); Thats all we had to do to get it to run the driving code. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error in code light on, trouble finding error | Bryan Herbst | Programming | 16 | 12-10-2007 21:59 |
| Problems integrating CMUCAM code and IFI Default Code | Windward | Programming | 2 | 06-02-2007 16:48 |
| problems using gyro/adc code with camera default code | tanstaafl | Programming | 7 | 22-01-2006 23:09 |
| user code to default code | phoenixomega001 | Programming | 5 | 09-01-2005 00:09 |
| Inserting Naviagation code into Default code? | actorindp | Programming | 3 | 28-01-2004 18:12 |