Chapter 2 Mplab Ide Integrated Development Environment; Mplab Installation; Mplab Simple Application; Create A Simple Project - Qianglongsheng Electronic Technology MCD-DEMO-II Manual

Table of Contents

Advertisement

DEMO-II Copyright of Qianlongsheng Electronics Technology (Shenzhen) Co., Ltd.

Chapter 2 MPLAB IDE Integrated Development Environment

MPLAB IDE (hereinafter referred as MPLAB) is the powerful software integrated development environment provided
by Microchip for its PIC microcontroller. It allows users to create, record, edit and comply programs of microcontrollers of
PIC series on their own computer systems, and it even can achieves dynamic simulation and debugging and run like
virtual exercises.
2.1 The installation of MPLAB
MPLAB is completely free software offered by Microchip. You can obtain the latest installation files through the
following two ways.
1), Visit our website: www.pic16.com
2), Visit Microchip's website: www.microchip.com
After downloading the files, you only need to use compression/decompression software tools such as WINZIP to
depress and release the files in your computer, and then run SETUP.EXE (or Install.exe) program, and follow a
step-by-step installation guide (You may also do not need changes any of the settings, just click "Next") until completion
of the installation.

2.2 MPLAB Simple Application

2.2.1 Create a Simple Project

Edit source codes
Click the MPLAB icon at your WINDOWS desktop, or choose
(Vx.x for MPLAB version) to start running MPLAB integrated environment. Shown as Figure 2-1.
MPLAB
Figure 2-1 MPLAB main window
Choose menu command File
will have a text editor window, and you can complete input of source code. As shown in Figure 2-2.
Edit the source codes in "Text editor window", then select the menu command
the specified directory, as shown in Figure 2-3.
à
new, MPLAB will automatically call MPLAB Editor (source editor), and the work area
Page 5 of 33
Start à All application à Microchip à MPLAB IDE V.xx à
Text editor window
Figure 2-2 text editor window
FileàSave
to save to the source file to

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents