User`s manual

20 MiniCore RCM5600W
3.2 Sample Programs
Of the many sample programs included with Dynamic C, several are specific to the
RCM5600W. These programs will be found in the SAMPLES\RCM5600W folder. Sample
programs in the SAMPLES folder one level up are generic samples that can be run on any
Rabbit-based product.
FLASHLED.C—demonstrates the use of costatements to flash LED DS1 on the Inter-
face Board. PD0 on the RCM5600W is used to drive the LED.
TOGGLESWITCH.C—monitors switch S1 and LED DS1 on the Interface Board. LED
DS1 on the Interface Board is turned on and off when you press switch S1. PD0 on the
RCM5600W is used to drive the LED, and PD1 detects the activity on switch S1.
Before you compile and run the fol-
lowing sample programs, make sure
that pins 1–2, 5–6, and 7–8 on
header JP1 of the Interface Board
are jumpered. The pins on header
JP2 must also be jumpered. Each
sample program has comments that
describe the purpose and function of
the program. Follow the instructions
at the beginning of the sample
program.
CAUTION: Do not jumper pins
1–3 on header JP1 on the Inter-
face Board.