![]() |
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?
|
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. |
| All times are GMT -5. The time now is 19:07. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi