Chapter 3

MPLAB X IDE and MPLAB XC8 C Programming Language

Abstract

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.

Keywords

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.