16
RabbitCore RCM4000
3.2 Sample Programs
Of the many sample programs included with Dynamic C, several are specific to the
RCM4000 modules. These programs will be found in the
SAMPLES\RCM4000
folder.
•
CONTROLLED.C
—Demonstrates use of the digital outputs by having you turn LEDs
DS2 and DS3 on the Prototyping Board on or off from the
STDIO
window on your PC.
Parallel Port B bit 2 = LED DS2
Parallel Port B bit 3 = LED DS3
Once you compile and run
CONTROLLED.C
, the following display will appear in the
Dynamic C
STDIO
window.
Press “2” or “3” on your keyboard to select LED DS2 or DS3 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.
•
FLASHLED1.C
—demonstrates the use of assembly language to flash LEDs DS2 and
DS3 on the Prototyping Board at different rates. Once you have compiled and run this
program, LEDs DS2 and DS3 will flash on/off at different rates.
•
FLASHLED2.C
—demonstrates the use of cofunctions and costatements to flash LEDs
DS2 and DS3 on the Prototyping Board at different rates. Once you have compiled and
run this program, LEDs DS2 and DS3 will flash on/off at different rates.
Содержание RabbitCore RCM4000
Страница 1: ...RabbitCore RCM4000 C Programmable Analog Core Module with Ethernet User s Manual 019 0157 060501 A...
Страница 6: ...RabbitCore RCM4100...
Страница 12: ...6 RabbitCore RCM4000...
Страница 20: ...14 RabbitCore RCM4000...
Страница 46: ...40 RabbitCore RCM4000...
Страница 68: ...62 RabbitCore RCM4000...
Страница 82: ...76 RabbitCore RCM4000...
Страница 96: ...90 RabbitCore RCM4000...
Страница 114: ...108 RabbitCore RCM4000...
Страница 118: ...112 RabbitCore RCM4000...
Страница 122: ...116 RabbitCore RCM4000...
Страница 124: ......