It is assumed that you know how to install MPLAB with C18 support. A tutorial is forthcoming but there is a lot of instruction out there to follow. Also, this tutorial is written for the 18F452. It will work with any 18xxx series PIC micro controller, but the configuration bits of each individual device vary so if you are using a different device, you will need to make adjustments accordingly.
I prefer to have a separate header file in the project folder to handle the configuration bits, and I reference it in my main code via;
#include "p18f452 ConfigBits.h"
Configuration bits can be set in your main code but I feel this approach is cleaner.
No comments.
Please login first.
