User`s manual

14 RabbitCore RCM3400
3.2 Sample Programs
Of the many sample programs included with Dynamic C, several are specific to the
RCM3400. These programs will be found in the SAMPLES\RCM3400 folder.
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.
CONTROLLED.c—Demonstrates use of the digital inputs by having you turn LEDs
DS1 and DS2 on the Prototyping Board on or off from the STDIO window on your PC.
Parallel Port D bit 6 = LED DS1
Parallel Port D bit 7 = LED DS2
Once you compile and run CONTROLLED.C, the following display will appear in the
Dynamic C STDIO window.
Press “1” or “2” on your keyboard to select LED DS1 or DS2 on the Prototyping
Board. Then follow the prompt in the Dynamic C
STDIO window to turn the LED ON
or OFF. A logic low will light up the LED you selected.