Pwm Outputs; Relay Output; Vcc Monitoring; Lp3500 Calibration - Z-World Fox LP3500 User Manual

C-programmable single-board computer
Table of Contents

Advertisement

4.3.5 PWM Outputs

The following sample program is found in the
—This program demonstrates the PWM functions. It will set the PWM chan-
PWMOUT.C
nels, PWM0–PWM2, to the following duty cycles:
PWM Channel 0 to 10%
PWM Channel 1 to 25%
PWM Channel 2 to 50%
All activity will be displayed in the

4.3.6 Relay Output

The following sample program is found in the
—This program demonstrates the relay-switching function call operating on
SWRELAY.C
normal power source. Use the pushbutton switches on the Prototyping Board to switch
the relay between the SET (NO) and RESET (NC) positions. All activity will be dis-
played with the LEDs.

4.3.7 Vcc Monitoring

The following sample program is found in the
—This program demonstrates the Vcc monitoring function on AIN7.
VCCMONITOR.C
All activity will be displayed in the

4.3.8 LP3500 Calibration

The following sample programs are found in the
—This program demonstrates how to recalibrate all single-ended A/D
ADCAL_ALL.C
converter channels using two known voltages to generate constants for each channel,
and will be written into the user block data area. The program uses the
to display the voltage that is being monitored.
NOTE: This sample program will overwrite the calibration constants set at the factory.
—This program demonstrates how to recalibrate one single-ended A/D
ADCAL_CHAN.C
converter channel using two known voltages to generate constants for each channel,
and will be written into the user block data area. The program uses the
to display the voltage that is being monitored.
NOTE: This sample program will overwrite the calibration constants set at the factory.
—This sample program demonstrates how to recalibrate one differential
AD_CALDIFF.C
A/D converter channel using two known voltages to generate constants for that channel
and rewrite the constants into the user block data area. The program uses the
window to display the voltage that is being monitored.
NOTE: This sample program will overwrite the calibration constants set at the factory.
40
subdirectory in
IO
window.
STDIO
subdirectory in
RELAY
subdirectory in
POWER
window
STDIO
subdirectory in
ADC
.
SAMPLES\LP3500
SAMPLES\LP3500
SAMPLES\LP3500
SAMPLES\LP3500
window
STDIO
window
STDIO
STDIO
Fox (LP3500)
.
.
.

Advertisement

Table of Contents
loading

Table of Contents