•
—demonstrates the use of coding with assembly instructions, cofunc-
FLASHLEDS.C
tions, and costatements to flash LEDs DS2 and DS3 on the Prototyping Board on and
off. LEDs DS2 and DS3 are controlled by Parallel Port A bit 0 (PA0) and Parallel Port
A bit 1 (PA1).Once you have compile this program and it is running, LEDs DS2 and
DS3 will flash on/off at different rates.
•
—demonstrates the use of cofunctions and costatements to flash LEDs
FLASHLEDS2.C
DS2 and DS3 on the Prototyping Board on and off. LEDs DS2 and DS3 are controlled
by Parallel Port A bit 0 (PA0) and Parallel Port A bit 1 (PA1).Once you have compile
this program and it is running, LEDs DS2 and DS3 will flash on/off at different rates.
•
—demonstrates a simple setup for a 2 × 6 keypad and a 2 × 20 LCD.
KEYLCD2.C
Connect the keypad to Parallel Ports B, C, and D.
PB0—Keypad Col 0
PC1—Keypad Col 1
PB2—Keypad Col 2
PB3—Keypad Col 3
PB4—Keypad Col 4
PB5—Keypad Col 5
PD1—Keypad Row 0
PD2—Keypad Row 1
Connect the LCD to Parallel Port A.
)PA0—backlight (if connected
PA1—LCD /CS
PA2—LCD RS (High = Control,
Low = Data) / LCD Contrast 0
PA3—LCD /WR/ LCD Contrast 1
PA4—LCD D4 / LCD Contrast 2
PA5—LCD D5 / LCD Contrast 3
PA6—LCD D6 / LCD Contrast 4
PA7—LCD D7 / LCD Contrast 5
Once the connections have been made and the sample program isrunning, the LCD will
display two rows of 6 dots, each dot representing the corresponding key. When a key is
pressed, the corresponding dot will become an asterisk.
User's Manual
RCM2100
Prototyping Board
J2
1
4
3
6
5
26
J4
34
35
RCM2100
Prototyping Board
J4
9
7
5
VCC
10 kW
resistors
PB0
PB2
PB3
PB4
PB5
PC1
PD1
PD2
VLC
PA1
10
PA2
PA3
8
PA4
PA5
6
PA6
PA7
4
Keypad
Col 0
Col 2
Col 3
Col 4
Col 5
Col 1
Row 0
Row 1
NC
NC
2x20 LCD
3
VLC
2
VCC
6
/CS
4
RS
5
/WR
11
D4
12
D5
13
D6
14
D7
7
D0
8
D1
9
D2
10
D3
15
Need help?
Do you have a question about the RabbitCore RCM2100 and is the answer not in the manual?