2001 Microchip Technology Inc.
DS39024B-page 65
PICDEM™ 17 DEMONSTRATION
BOARD USER’S GUIDE
12
Chapter 8.
SWITCH.C
Description
8.1
Introduction
This chapter describes the demonstration program for the PIC17C756A,
SWITCH.C
. This program first turns on all the memory mapped LEDs. When
the corresponding pushbutton switch is pressed, the microcontroller will
toggle the state of the LED.
8.2
Highlights
This chapter covers the following topics:
• MPLAB
®
IDE Project Files
• PICmicro
®
C Libraries
• Source Code Descriptions
•
SWITCH.C
Source Code Listing
8.3
MPLAB IDE Project Files
The project SWITCH.PJT contains the following files:
The files in this project use the following header files:
P17C756.H
DELAYS.H
SWITCH.PJT
DEMO756L.LKR
P17C756.O
PMC756L.LIB
C0L17DEM.O
SWITCH.C