•
—demonstrates a simple setup for an LCD that uses the HD44780 con-
LCD_DEMO.C
troller or an equivalent.
Connect the LCD to the RCM2100 address and data lines on the Prototyping Board.
BD0—DB0
BD1—DB1
BD2—DB2
BD3—DB3
BD4—DB4
BD5—DB5
BD6—DB6
BD7—DB7
BA0—RS (Register Select: 0 = command, 1 = data)
BA1—R/W (0=write, 1=read)
*—E (normally low: latches on high-to-low transition)
•
—demonstrates the use of pushbutton switches S2 and S3 to toggle LEDs
SWTEST.C
DS2 and DS3 on the Prototyping Board on and off.
Parallel Port A bit 0 = LED DS2
Parallel Port A bit 1 = LED DS3
Parallel Port B bit 2 = switch S2
Parallel Port B bit 3 = switch S3
•
—demonstrates the use of costatements to detect switch presses using
TOGGLELED.C
the press-and-release method of debouncing. As soon as the sample program starts run-
ning, LED DS3 on the Prototyping Board (which is controlled by PA1) starts flashing
once per second. Press switch S2 on the Prototyping Board (which is connected to PB2)
to toggle LED DS2 on the Prototyping Board (which is controlled by PA0). The push-
button switch is debounced by the software.
16
2x20 LCD
BD0BD7
DB0DB7
BA0BA1
E
RCM2100
Prototyping Board
BD0BD7
BD7BD0 are pins 1017
on header J2
BA0BA1
BA1BA0 are pins 2324
on header J4
HEADER J2:
25
37
36
24
/BIOW
/PE1
/PE0
/BIOR
RabbitCore RCM2100
2x20 LCD
DB0DB7
E
Need help?
Do you have a question about the RabbitCore RCM2100 and is the answer not in the manual?
Questions and answers