![background image](http://html1.mh-extra.com/html/rabbit/rcm3365/rcm3365_user-manual_3124182118.webp)
112
RabbitCore RCM3365/RCM3375
C.7 Sample Programs
Sample programs illustrating the use of the LCD/keypad module with the Prototyping
Board are provided in the
SAMPLES\RCM3360\LCD_KEYPAD
folder.
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), then compile and run it by
pressing
F9
. The RCM3365/RCM3375 must be connected to a PC using the serial
programming cable (you also have the option to use an Ethernet cable if the RCM3365 is
RabbitSys-enabled) as described in Chapter 2, “Getting Started.”
Complete information on Dynamic C is provided in the
Dynamic C User’s Manual
.
•
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 DS3, DS4, DS5, and DS6 LEDs on the
Prototyping Board will also light up. The red LED (DS3) on the RCM3365 module 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.
•
SWITCHTOLCD.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.
Additional sample programs are available in the
SAMPLES\LCD_KEYPAD\122x32_1x7
folder.
Summary of Contents for RCM3365
Page 6: ...RabbitCore RCM3365 RCM3375 Schematics 157...
Page 14: ...8 RabbitCore RCM3365 RCM3375...
Page 24: ...18 RabbitCore RCM3365 RCM3375...
Page 72: ...66 RabbitCore RCM3365 RCM3375...
Page 108: ...102 RabbitCore RCM3365 RCM3375...
Page 142: ...136 RabbitCore RCM3365 RCM3375...
Page 148: ...142 RabbitCore RCM3365 RCM3375...
Page 164: ......