20-101-0542 Rabbit Semiconductor, 20-101-0542 Datasheet - Page 26

CABLE 1.27MM FOR RCM3200

20-101-0542

Manufacturer Part Number
20-101-0542
Description
CABLE 1.27MM FOR RCM3200
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-0542

Accessory Type
Programming Cable
Product
Microcontroller Accessories
For Use With/related Products
Rabbit 3000-based products, except RCM30/3100, LP3500
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
20-101-0542
316-1180
3.2 Sample Programs
Of the many sample programs included with Dynamic C, several are specific to the
RCM3200. Sample programs illustrating the general operation of the RCM3200, and
serial communication are provided in the
gram has comments that describe the purpose and function of the program. Follow the
instructions at the beginning of the sample program.
Once you have loaded and executed these five programs and have an understanding of
how Dynamic C and the RCM3200 modules interact, you can move on and try the other
sample programs, or begin building your own.
20
CONTROLLED.C
LEDs DS1 and DS2 on the Prototyping Board on and off.
Parallel Port G bit 6 = LED DS1
Parallel Port G bit 7 = LED DS2
Once you have compiled and run this program, you will be prompted via the Dynamic
C
selection.
Once you have selected the LED, you will be prompted to select to turn the LED either
ON or OFF. A logic low will light up the LED you selected.
FLASHLED1.c
the Prototyping Board at different rates. Once you have compiled and run this program,
LEDs DS1 and DS2 will flash on/off at different rates.
FLASHLED2.c
DS1 and DS2 on the Prototyping Board at different rates. Once you have compiled and
run this program, LEDs DS1 and DS2 will flash on/off at different rates.
TOGGLESWITCH.c
press-and-release method of debouncing. LEDs DS1 and DS2 on the Prototyping
Board are turned on and off when you press switches S2 and S3.
IR_DEMO.c
Board assemblies via the IrDA transceivers with the IrDA transceivers facing each other.
Note that this sample program will only work with the RCM30/31/32XX Prototyping
Board.
First, compile and run this program on one Prototyping Board assembly, then remove
the programming cable and press the
the first RabbitCore module is operating in the
ming cable to the second Prototyping Board assembly with the RCM3200 and compile
and run the same sample program. With the programming cable still connected to the
second Prototyping Board assembly, press switch S2 on the second Prototyping Board
to transmit a packet. Once the first Prototyping Board assembly receives a test packet, it
will send back a response packet that will be displayed in the Dynamic C
dow. The test packets and response packets have different codes.
STDIO
window to select LED DS1 or DS2. Use your PC keyboard to make your
—Demonstrates sending Modbus ASCII packets between two Prototyping
—demonstrates the use of costatements to flash LEDs DS1 and DS2 on
—demonstrates the use of cofunctions and costatements to flash LEDs
—uses the
—demonstrates the use of costatements to detect switches using the
STDIO
window to demonstrate digital outputs by toggling
RESET
SAMPLES\RCM3200
button on the Prototyping Board so that
Run
mode. Then connect the program-
folder. Each sample pro-
RabbitCore RCM3200
STDIO
win-

Related parts for 20-101-0542