Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 101-1274 - KIT DEV STANDARD RCM5700
Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com
3.2 Sample Programs
Of the many sample programs included with Dynamic C, several are specific to the
RCM5700/RCM6700. These programs will be found in the
SAMPLES\RCM6700 folder,
folder one level up are generally generic samples that can be run on any Rabbit-based
SAMPLES
product.
Before you compile and run the following sample programs, make sure that pins 1–2, 5–6, and 7–
8 on header JP1 of the Interface Board are 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 Interface Board.
—demonstrates the use of costatements to flash LED DS1 on the Interface
•
FLASHLED01.C
Board. PD0 on the MiniCore is used to drive the LED.
—demonstrates the use of a state machine with standard C constructs to flash
•
FLASHLED01A.C
LED DS1on the Interface Board. PD0 on the MiniCore is used to drive the LED.
—demonstrates the use of costatements to detect and debounce switch S1
•
FLASHLED02.c
being pressed on the Interface Board. LED DS1 flashes on the Interface Board, and the rate at
which it flashes changes each time you press switch S1. I/O control for the LED is provided by
PD0 on the MiniCore, and PD1 detects the activity on switch S1.
—detects and debounces switch S1 being pressed on the Interface Board.
•
FLASHLED02A.c
LED DS1 flashes on the Interface Board, and the rate at which it flashes changes each time you
press switch S1. I/O control for the LED is provided by PD0 on the MiniCore, and PD1 detects
the activity on switch S1.
MiniCore RCM5700/RCM6700 User's Manual
depending on your MiniCore model. Sample programs in the
digi.com
SAMPLES\RCM5700 or
20
Need help?
Do you have a question about the MiniCore RCM5700 and is the answer not in the manual?
Questions and answers