
88
RabbitCore RCM3209/RCM3229
C.7 Sample Programs
Sample programs illustrating the use of the LCD/keypad module with the Prototyping
Board are provided in the
SAMPLES\RCM3200
directory.
These sample programs use the external I/O bus on the Rabbit 3000 chip, and so the
#define PORTA_AUX_IO
line is already included in the sample programs.
Each sample program has comments that describe the purpose and function of the pro-
gram. Follow the instructions at the beginning of the sample program. To run a sample
program, open it with the
File
menu (if it is not still open), compile it using the
Compile
menu, and then run it by selecting
Run
in the
Run
menu. The RCM3209/RCM3229 must
be in
Program
mode (see Section 4.3, “Serial Programming Cable”), and must be con-
nected to a PC using the programming cable as described in Section 2.2.2.
Complete information on Dynamic C is provided in the
Dynamic C User’s Manual
.
The following sample programs are found in the
SAMPLES\RCM3200\LCD_KEYPAD
folder.
•
KEYPADTOLED.C
—This program demonstrates the use of the external I/O bus. The
program will light up an LED on the LCD/keypad module and will display a message
on the LCD when a key press is detected. The DS1 and DS2 LEDs on the Prototyping
Board will also light up.
•
LCDKEYFUN.C
—This program demonstrates how to draw primitive features from the
graphic library (lines, circles, polygons), and also demonstrates the keypad with the key
release option.
•
SWITCHTOLED.C
—This program demonstrates the use of the external I/O bus. The
program will light up an LED on the LCD/keypad module and will display a message
on the LCD when a switch press is detected. The DS1 and DS2 LEDs on the Prototyp-
ing Board will also light up.
Summary of Contents for RabbitCore RCM3209
Page 1: ...RabbitCore RCM3209 RCM3229 C Programmable Module with Ethernet User s Manual 019 0165 080528 D...
Page 6: ...RabbitCore RCM3209 RCM3229...
Page 20: ...14 RabbitCore RCM3209 RCM3229...
Page 58: ...52 RabbitCore RCM3209 RCM3229...
Page 84: ...78 RabbitCore RCM3200...
Page 135: ...User s Manual 129 keyConfig continued RETURN VALUE None SEE ALSO keyProcess keyGet keypadDef...
Page 140: ...134 RabbitCore RCM3209 RCM3229...
Page 144: ...138 RabbitCore RCM3209 RCM3229...
Page 158: ...152 RabbitCore RCM3209 RCM3229...
Page 160: ......