Chapter 3

MPLAB X IDE and MPLAB XC8 C Programming Language


This chapter provides an introduction to the MPLAB IDE and the MPLAB XC8 compiler for the PIC18F series of microcontrollers. The features of the MPLAB IDE are described in detail. The project development cycle using the MPLAB XC8 compiler is described with a simple example, showing the program creation, simulation, in-circuit debugging, uploading to the target microcontroller, and testing. The commonly used library functions of the MPLAB XC8 compiler are given in the chapter.


MPLAB X IDE; MPLAB XC8 compiler for PIC microcontrollers; PICDEM and PIC18 explorer board; Project development using the MPLAB XC8

Get PIC Microcontroller Projects in C, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.