
User’s Manual
43
4.2.3 Serial Communication
The following sample programs are found in the
RS232
subdirectory in
SAMPLES\LP3500
.
•
SIMPLE3WIRE.C
—This program demonstrates basic initialization for a simple RS-232
3-wire loopback displayed in the
STDIO
window.
The following sample programs are found in the
RS485
subdirectory in
SAMPLES\LP3500
.
•
SIMPLE485MASTER.C
—This program demonstrates a simple RS-485 transmission of
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
STDIO
window. Use
SIMPLE485SLAVE.C
to program the slave LP3500.
•
SIMPLE485SLAVE.C
—This program demonstrates a simple RS-485 transmission of
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
STDIO
window. Use
SIMPLE485MASTER.C
to program the master LP3500.
4.2.4 A/D Converter Inputs
The following sample programs are found in the
ADC
subdirectory in
SAMPLES\LP3500
.
•
AD_RDVOLT_ALL.C
—This program reads and displays the voltage and equivalent values
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
STDIO
window.
•
AD_RDVOLT_CH.C
—This program reads and displays the voltage and equivalent values
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
STDIO
window.
•
AD_RDDIFF_CH.C
—This program demonstrates reading one differential A/D converter
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
STDIO
window.
•
AD_RDMA_CH.C
—This program demonstrates reading one milliampere A/D converter
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
STDIO
window.
•
AD_SAMPLE.C
—This program demonstrates how to use the A/D low-level driver. The
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.
Summary of Contents for Fox LP3500
Page 1: ...Fox LP3500 C Programmable Single Board Computer User s Manual 019 0111 081121 L...
Page 6: ...Fox LP3500...
Page 14: ...8 Fox LP3500...
Page 22: ...16 Fox LP3500...
Page 44: ...38 Fox LP3500...
Page 90: ...84 Fox LP3500...
Page 108: ...102 Fox LP3500 glFillCircle glPlotPolygon glFillPolygon...
Page 134: ...128 Fox LP3500...
Page 140: ...134 Fox LP3500...
Page 142: ......