![]() |
Re: New C18 3.0+ Compatible FRC Code
Quote:
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. |
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! ;) |
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? |
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. |
Re: New C18 3.0+ Compatible FRC Code
Quote:
|
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, LinkerEDIT: 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 |
Re: New C18 3.0+ Compatible FRC Code
1 Attachment(s)
Quote:
THIS IS .MCP FILES ONLY! NO CODE! EDIT: Are you using c18 v3+ to compile the v2.4 code? |
Re: New C18 3.0+ Compatible FRC Code
Quote:
V 3.1 |
Re: New C18 3.0+ Compatible FRC Code
Quote:
|
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" |
Re: New C18 3.0+ Compatible FRC Code
Quote:
The first three links are 3+. The other two are v2.4. |
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. |
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? |
Re: New C18 3.0+ Compatible FRC Code
Quote:
-Kevin |
Re: New C18 3.0+ Compatible FRC Code
Quote:
-Kevin |
| All times are GMT -5. The time now is 14:27. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi