Sample Programs - Rabbit RabbitCore RCM3400 User Manual

C-programmable analog core module with 10/100base-t reference design
Hide thumbs Also See for RabbitCore RCM3400:
Table of Contents

Advertisement

D.7 Sample Programs
Sample programs illustrating the use of the LCD/keypad module with the Prototyping
Board are provided in the
These sample programs use the auxiliary I/O bus on the Rabbit 3000 chip, and so the
#define PORTA_AUX_IO
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
pressing
. The RCM3400 must be connected to a PC using the programming cable as
F9
described in Chapter 2, "Getting Started.".
Complete information on Dynamic C is provided in the Dynamic C User's Manual.
KEYPADTOLED.C
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.
—This program demonstrates how to draw primitive features from the
LCDKEYFUN.C
graphic library (lines, circles, polygons), and also demonstrates the keypad with the key
release option.
SWITCHTOLED.C
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
subdirectory.
116
SAMPLES\RCM3400\LCD_KEYPAD
line is already included in the sample programs.
menu (if it is not still open), then compile and run it by
File
—This program demonstrates the use of the external I/O bus. The
—This program demonstrates the use of the external I/O bus. The
directory.
SAMPLES\LCD_KEYPAD\122×32_1×7
RabbitCore RCM3400

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RabbitCore RCM3400 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents