User manual
Hardware Details
© 2008 Microchip Technology Inc. DS51721B-page 29
A.1.13 LCD
An LCD display with two lines, 16 characters each, is connected to the SPI I/O
expander, MCP23S17. The two control lines and eight data lines are connected to the
I/O expander.
The I/O expander has an SPI interface that connects it to the microcontroller.The I/O
expander is disabled or enabled from the SPI by jumper JP3.
A.1.14 Sample Devices
A sample part programmed with a simple program is included in the PICDEM PIC18
Explorer Demonstration Board Kit. The devices’ I/O features and port connections are
listed in Table A-1.
TABLE A-1: SAMPLE DEVICE I/O FEATURES AND CONNECTIONS
Device LEDs
RS-232/
USB
S1 S2 S3 LCD
Pot
R3
EEPROM
Temp
Sensor
ICD/
PICkit™ 2
Y1,
Y2
PIC18F8722 RD7:RD0 RC6/RC7 RB0 RA5 MCLR
RC3:RC5 RA0 RC3:RC5 RA1 RB6/RB7 Yes
PIC18F87J11 RD7:RD0 RC6/RC7 RB0 RA5 MCLR RC3:RC5 RA0 RC3:RC5 RA1 RB6/RB7 Yes