Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 101-1274 - KIT DEV STANDARD RCM5700
Contact us: [email protected] Website: www.integrated-circuit.com
MiniCore RCM5700/RCM6700 User’s Manual
digi.com
22
The
SERIALTOSERIAL.C
sample program is in the
SAMPLES\RCM5700\SERIAL
or
SAMPLES\RCM6700\SERIAL
folder, depending on your MiniCore model.
•
SERIALTOSERIAL.C
—monitors switches S1, S2, S3, and S4 on the Digital I/O accessory
board and lights LEDs DS1–DS4 when the corresponding pushbutton switch is pressed. LEDs
DS1–DS2 on the Digital I/O accessory board are controlled by PA4–PA7, and switches S1–S4
are controlled by PB4–PB7 respectively. The sample program sends messages from Serial Port
D to Serial Port C to indicate that a switch was pressed. Messages received by Serial Port C are
displayed in Dynamic C’s
STDIO
window.
Before you compile and run this sample program, you will need to connect J2 pin 19 (PC0/TxD)
to J2 pin 22 (PC3/RxC)
or
the corresponding holes on P2.
If you are using the Serial Communication Accessory Board, you should connect pin 3 (TXD) on
header J3 to pin 5 (RXC) on header J4 instead.
23 / 113
23 / 113