![background image](http://html2.mh-extra.com/html/rabbit/rabbitcore/rabbitcore_user-manual_3112756022.webp)
16
RabbitCore RCM3750
•
CONTROLLED.c
—Demonstrates use of the digital inputs by having you turn the LEDs
on the Prototyping Board on or off from the
STDIO
window on your PC.
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.
•
IR_DEMO.c
—Demonstrates sending Modbus ASCII packets between two RCM3700
Prototyping Board assemblies with IrDA transceivers via the IrDA transceivers. Note
that this sample program will only work with the RCM3700 Prototyping Board.
First, compile and run this program on one Prototyping Board assembly, then remove
the programming cable and press the
RESET
button on the Prototyping Board so that
the first RabbitCore module is operating in the
Run
mode. Then connect the program-
ming cable to the second Prototyping Board assembly with the RCM3750 and compile
and run the same sample program. With the programming cable still connected to the
second Prototyping Board assembly, press switch S1 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
STDIO
win-
dow. The test packets and response packets have different codes.
Once you have loaded and executed these five programs and have an understanding of
how Dynamic C and the RCM3750 modules interact, you can move on and try the other
sample programs, or begin building your own.
Summary of Contents for RabbitCore
Page 6: ...RabbitCore RCM3750...
Page 40: ...34 RabbitCore RCM3750...
Page 64: ...58 RabbitCore RCM3750...
Page 126: ...120 RabbitCore RCM3750...
Page 162: ...156 RabbitCore RCM3750...
Page 172: ......