Quote:
Originally Posted by Farnak
I'm just following the included Getting Started Guide for the MPLab.
|
MPLAB is a generic product, so the examples assume you are using a PIC straight out of the box. That's not the case for the First or Vex controllers.
If you want to use the Getting Started examples as they are, then you'll need a PIC development board. I'd suggest getting a
Pickit2 development set. Choose one that comes with the programmer to download your code combined with a development board to do the MPLAB exercises on.
Program memory on the FRC/Vex Robot Controller is reserved for other purposes before 0x800. There are also other restrictions due to the FIRST specific architecture of this particular controller that will make it difficult to use.
If you want to use it to learn to code on an FRC Robot Controller then it's probably easiest to start with
Kevin Watson's basic default code and study how that works. Specifically,
ifi_frc_simple.zip.
There are also the tutorials on FIRST's
page that use the IFI
default code as a basic start.