3.2 Sample Programs
Of the many sample programs included with Dynamic C, several are specific to the
RCM3700. Sample programs illustrating the general operation of the RCM3700, serial
communication, and the A/D converter on the Prototyping Board are provided in the
and the
SAMPLES\RCM3700
sample programs use the features available on the two Prototyping Boards.
Feature
Sample Program Folder
Digital I/O
IrDA Transceivers
Serial Flash
Serial Communication
TCP/IP
A/D Converter
LCD/Keypad Module
Dynamic C FAT File System,
RabbitWeb,
SSL Modules
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. Note that the
RCM3700 must be installed on the Prototyping Board when using these sample programs.
TCP/IP sample programs are described in Chapter 6, "Using the TCP/IP Features." Sample
programs for the optional LCD/keypad module that is used on the RCM3700 Prototyping
Board are described in Appendix C.
Additional sample programs are available online at
loads/downloads_prod.shtml.
—Demonstrates the digital I/O capabilities of the A/D converter on the Proto-
•
DIO.c
typing Board by configuring two lines to outputs and two lines as inputs on Prototyping
Board header JP4.
If you are using the RCM3700 Prototyping Board, install a 2 x 2 header at JP4 and con-
nect pins 1–2 and pins 3–4 on header JP4 before running this sample program.
—Demonstrates assembly-language program by flashing LEDs DS1 and
•
FLASHLED.c
DS2 on the Prototyping Board at different rates.
•
TOGGLESWITCH.c
responding LEDs (DS1 and DS2) will turn on or off.
RabbitCore RCM3700 User's Manual
SAMPLES\RCM3720
RCM3700 Prototyping
SAMPLES\RCM3700
—Uses costatements to detect switches using debouncing. The cor-
folders as shown in the table below. The
RCM3720 Prototyping
Board
SAMPLES\RCM3720
×
×
×
×
×
×
×
×
www.rabbit.com/support/down-
Board
×
×
×
×
×
17