|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#121
|
||||
|
||||
|
Re: New C18 3.0+ Compatible FRC Code
Please define "that".
If you mean MPLAB 8.0 and C18 v3.1, please read the very first page. If you are referring to MPLAB 7.4 and C18 v2.7, look in the KOP for the CBOT CD. |
|
#122
|
||||
|
||||
|
Re: New C18 3.0+ Compatible FRC Code
Quote:
When installing/updating your C18 compiler, (I went with 3.15 and am going to add the #endif that was mentioned earlier) there is a page of options after choosing which components to install that has the following: [ ] Update MPLAB IDE to use this MPLAB C18 [ ] Update MPLAB IDE to use this MPLINK Linker, MPLIB Librarian, and MPASM Assembler Check them! ![]() Last edited by JohnC : 07-01-2008 at 00:50. Reason: fixed advice |
|
#123
|
||||
|
||||
|
Re: New C18 3.0+ Compatible FRC Code
Quote:
![]() can someone point me in the direction of a tutorial in which i can use this code to program our new 2008 bot? also is there a way of reading the printf statements in an executed program without having to upload onto our robot? Last edited by SuspectZero : 07-01-2008 at 00:55. |
|
#124
|
|||
|
|||
|
Re: New C18 3.0+ Compatible FRC Code
Quote:
As far as prtinf goes, if you place your robot on blocks (so that the wheels are spinning freely and not touching anything) and you keep the programming cable connected to the computer, you will see the results of all printf's in the terminal window that pops up after you're done downloading code usinng IFI Loader. Hope this helps. |
|
#125
|
||||
|
||||
|
Re: New C18 3.0+ Compatible FRC Code
Quote:
|
|
#126
|
||||
|
||||
|
Re: New C18 3.0+ Compatible FRC Code
Hey, i really like the look! I'm having this problem when i try to compile:
Code:
MPLINK 4.1, Linker Copyright (c) 2006 Microchip Technology Inc. Error - could not find file 'C:\2008 FRC\frc_library_24\ifi_frc_8722_24.lib'. Errors : 1 EDIT: Fixed it (for anyone else, add the library file again (project menu) wherever you installed it) now i'm getting: Code:
MPLINK 4.1, Linker Copyright (c) 2006 Microchip Technology Inc. Error - Coff file format for 'ifi_frc_library.o' is out of date. Error - Could not build member 'ifi_frc_library.o' in library file 'Z:\My Documents\robotics\ifi_frc_24\ifi_frc_8722_24.lib'. Errors : 2 Last edited by paulcd2000 : 07-01-2008 at 16:10. |
|
#127
|
||||
|
||||
|
Re: New C18 3.0+ Compatible FRC Code
Quote:
THIS IS .MCP FILES ONLY! NO CODE! EDIT: Are you using c18 v3+ to compile the v2.4 code? |
|
#128
|
||||
|
||||
|
Re: New C18 3.0+ Compatible FRC Code
i believe i am. you download that from the microchip website? i have...
V 3.1 |
|
#129
|
||||
|
||||
|
Re: New C18 3.0+ Compatible FRC Code
If you are using v3.1 you need to download the verison of the code for c18 v3+. It is listed on the first post of this thread.
Last edited by EHaskins : 07-01-2008 at 16:20. Reason: typo |
|
#130
|
||||
|
||||
|
Re: New C18 3.0+ Compatible FRC Code
i did download that one.
EDIT: oops... i didn't! Ok, well which of the various links is it? is it "the snapshot of the latest build" |
|
#131
|
||||
|
||||
|
Re: New C18 3.0+ Compatible FRC Code
The library file reference in the error you posted is the v2.4 version.(you can tell by the "_24" ending of the library file and the project directory) Unless kevin included the wrong library you accidentally grabed the wrong file.
The first three links are 3+. The other two are v2.4. |
|
#132
|
|||
|
|||
|
Re: New C18 3.0+ Compatible FRC Code
Kevin,
In the gyro.h file there are definitions for several different gyros. However, the new KoP gyro is not one of them. Do you think you will be able to add a set of constants for it next time you rebuild? Thanks. |
|
#133
|
|||
|
|||
|
Re: New C18 3.0+ Compatible FRC Code
Sorry,
Not to drag everyone back to v2.4... but Ive tried both a last years install and this years mplab v7.2 with 2.4 and it won't even open the 2.4 verion of the beta's project file. There has been previous mention of mplab7.4 with 2.7. This is not the version in our Canadian Kits. Could we please clarify? |
|
#134
|
||||
|
||||
|
Re: New C18 3.0+ Compatible FRC Code
Quote:
-Kevin |
|
#135
|
||||
|
||||
|
Re: New C18 3.0+ Compatible FRC Code
Quote:
-Kevin |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Does the camera code suits to all versions of MPLAB and C18? | razer | Programming | 3 | 04-01-2007 14:50 |
| Trying to follow C18 interrupt context code... | dcbrown | Programming | 5 | 21-12-2006 09:01 |
| Error w/ FRC code | JamesBrown | Programming | 2 | 08-01-2005 16:17 |
| Programming code Fix FRC | Ferazel2001 | Programming | 6 | 08-02-2004 02:46 |
| FRC default code | hedgehogger | Programming | 2 | 21-01-2004 18:41 |