Datasheet
Chapter 2.
5
First Program - Blink an LED
The first program will be the classic "flash an LED" program. This provides a simple look into programming
the PIC without any unnecessary complexities. Well, maybe without too many complexities.
2.1. Creating the project
Everything done within MPLAB-X is done within the context of a project, so the first order of business is
to set up a project.
Begin by launching MPLAB-X, either by double-clicking the desktop icon or selecting the MPLAB-X IDE
from the menu.
Figure 2.1. MPLAB-X desktop icon