The RS-485 connections between the slave and master devices are as follows.
• RS485+ to RS485+
• RS485– to RS485–
• GND to GND
•
SIMPLE485MASTER.C
lower case letters to a slave. The slave will send back converted upper case letters back
to the master and display them in the
program the slave.
•
SIMPLE485SLAVE.C
lower case letters to a master. The slave will send back converted upper case letters
back to the master and display them in the
to program the master.
3.2.3 Real-Time Clock
If you plan to use the real-time clock functionality in your application, you will need to set
the real-time clock. Set the real-time clock using the
the Dynamic C
SAMPLES\RTCLOCK
sample program in the Dynamic C
TEST.C
tional examples of how to read and set the real-time clock.
3.2.4 RabbitNet
Sample programs are available for each RabbitNet peripheral card, and can be found in the
Dynamic C
SAMPLES\RabbitNet
in conjunction with the RCM3305/RCM3315 and the Prototyping Board, you need to add
the line
#use rcm33xx.lib
at the beginning of the sample program.
TIP: You need to add #use rcm33xx.lib at the beginning of any sample program
that is not in the Dynamic C SAMPLES\RCM3300 folder.
3.2.5 Other Sample Programs
Section 6.6 describes the TCP/IP sample programs, and Appendix C.7 provides sample
programs for the optional LCD/keypad module that can be installed on the Prototyping
Board.
User's Manual
—This program demonstrates a simple RS-485 transmission of
STDIO
—This program demonstrates a simple RS-485 transmission of
STDIO
folder, using the onscreen prompts. The
SAMPLES\RTCLOCK
folder. When you run any of these sample programs
window. Use
SIMPLE485SLAVE.C
window. Use
SIMPLE485MASTER.C
sample program from
SETRTCKB.C
folder provides addi-
to
RTC_
21