User manual

Table Of Contents
PICDEM
TM
Lab Development Board User’s Guide
DS41369A-page 18 © 2009 Microchip Technology Inc.
3.3 GPIO OUTPUT LABS
3.3.1 Reference Documentation
All documentation is available on the PICDEM™ Lab Development Kit accompanying
CD-ROM.
PIC16F690 Data Sheet (DS41262)
- Section 2.2.2.2: Option Register
- Section 2.2.2.3: Interrupt Control Register INTCON
- Section 4: I/O Ports
- Section 5: Timer0 Module
Timers: Timer0 Tutorial (Part 1) (DS51628)
Timers: Timer0 Tutorial (Part 2) (DS51702)
“Introduction to MPLAB
®
IDE and HI-TECH C
®
PRO for the PIC10/12/16 MCU
Family Lite Mode Compiler Tutorial” (DS41322)
3.3.2 Equipment Required for GPIO Output Labs
To complete the labs in this section, the following components are required:
1. 8 – Light Emitting Diodes
2. 8 – 470Ω resistors
3. PIC16F690 populating socket U2
4. Assorted jumper wires
3.3.3 PICDEM Lab Development Board Setup for GPIO Output Labs
The GPIO output labs will require that the PICDEM Lab Development Board be config-
ured as shown in Figure 3-1 using the components listed in the previous section.
FIGURE 3-1: PICDEM LAB SCHEMATIC FOR GPIO OUTPUT LABS
U2
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
RC0
RC1
RC2
RC3
RC4
RC5
RC6
RC7
J9J8
R8
470
R4
470
R7
470
R6
470
R5
470
R3
470
R2
470
R1
470
LED8 LED7 LED6 LED4 LED3 LED2 LED1LED5
V
SS