4.3.3 Serial Communication
The following sample programs are found in the
—This program demonstrates basic initialization for a simple RS-232
•
SIMPLE3WIRE.C
3-wire loopback displayed in the
The following sample programs are found in the
•
SIMPLE485MASTER.C
lower case letters to a slave LP3500. The slave will send back converted upper case let-
ters back to the master LP3500 and display them in the
SIMPLE485SLAVE.C
•
SIMPLE485SLAVE.C
lower case letters to a slave LP3500. The slave will send back converted upper case let-
ters back to the master LP3500 and display them in the
SIMPLE485MASTER.C
4.3.4 A/D Converter Inputs
The following sample programs are found in the
•
AD_RDVOLT_ALL.C
of each single-ended A/D converter channel. Coefficients are read from the A/D con-
verter's simulated EEPROM in flash memory to compute the equivalent voltages. Com-
puted raw data and equivalent voltages are displayed in the
—This program reads and displays the voltage and equivalent values
•
AD_RDVOLT_CH.C
of one single-ended A/D converter channel. Coefficients are read from the A/D con-
verter's simulated EEPROM in flash memory to compute the equivalent voltages. Com-
puted raw data and equivalent voltages are displayed in the
—This program demonstrates reading one differential A/D converter
•
AD_RDDIFF_CH.C
channel. Coefficients are read from the A/D converter's simulated EEPROM in flash
memory to compute the equivalent voltages. Computed raw data and equivalent volt-
ages are displayed in the
—This program demonstrates reading one milliampere A/D converter
•
AD_RDMA_CH.C
channel. Coefficients are read from the A/D converter's simulated EEPROM in flash
memory to compute the equivalent currents. Computed raw data and equivalent cur-
rents are displayed in the
—This program demonstrates how to use the A/D low-level driver. The
•
AD_SAMPLE.C
program will display the average voltage that is present on an A/D converter channel.
The particular channel and the number of samples may be changed by the user.
User's Manual
STDIO
—This program demonstrates a simple RS-485 transmission of
to program the slave LP3500.
—This program demonstrates a simple RS-485 transmission of
to program the master LP3500.
—This program reads and displays the voltage and equivalent values
window.
STDIO
window.
STDIO
subdirectory in
RS232
window.
subdirectory in
RS485
STDIO
STDIO
subdirectory in
ADC
STDIO
STDIO
SAMPLES\LP3500
SAMPLES\LP3500
window. Use
window. Use
.
SAMPLES\LP3500
window.
window.
.
.
39