2001 Microchip Technology Inc.
DS39024B-page 69
PICDEM™ 17 DEMONSTRATION
BOARD USER’S GUIDE
12
Chapter 9.
I2C.C
Description
9.1
Introduction
This chapter describes the demonstration program for the PIC17C756A,
I2C.C
. This program takes an incrementing count and writes it to the
24LC01B Serial EEPROM and displays the address on the memory mapped
LEDs. This program also displays the desired value and the actual value for
each location. Before running this program, make sure that S3 positions 1 and
2 are ON and the rest are OFF.
9.2
Highlights
This chapter covers the following topics:
• MPLAB
®
IDE Project Files
• PICmicro
®
C Libraries
• Source Code Descriptions
•
I2C.C
Source Code Listing
9.3
MPLAB IDE Project Files
The project I2C.PJT contains the following files:
The files in this project use the following header files:
P17C756.H
DELAYS.H
I2C.PJT
DEMO756L.LKR
P17C756.O
PMC756L.LIB
C0L17DEM.O
I2C.C