PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Simple-Libraries
Learn
Simple Libraries
Convert
libadcDCpropab
adcDCVpropab.c
Go to the documentation of this file.
1
15
#include "
adcDCpropab.h
"
16
17
float
adc_volts
(
int
channel)
18
{
19
return
((
float
)
adc_in
(channel)) * 5.0 / 4096.0;
20
}
21
adc_in
int adc_in(int channel)
Get value that corresponds to voltage measurement on one of the A/D converter's input channels....
Definition:
adcDCpropab.c:29
adcDCpropab.h
Measure ADC124S021 as either a voltage or a raw, 12-bit5 adc value. This library is intended for DC m...
adc_volts
float adc_volts(int channel)
Get a voltmeter style floating point voltage measurement from one of the A/D converter's input channe...
Definition:
adcDCVpropab.c:17
Generated on Fri May 20 2022 16:48:04 for PropWare by
1.8.17