Propeller Activity Board A/D Voltage Library
v0.8
Take DC voltage measurements with A/D 0, 1, 2, and/or 3.
|
Measure ADC124S021 voltage as a floating point value.
CONSTRUCTION ZONE: This library is preliminary, major revisions pending, not for release.
More...
#include "adcDCpropab.h"
Functions | |
float | adc_volts (int channel) |
Get a voltmeter style floating point voltage measurement from one of the A/D converter's input channels. |
Measure ADC124S021 voltage as a floating point value.
CONSTRUCTION ZONE: This library is preliminary, major revisions pending, not for release.
float adc_volts | ( | int | channel | ) |
Get a voltmeter style floating point voltage measurement from one of the A/D converter's input channels.
channel | The A/D converter's input channel, either channel 0, 1, 2, or 3. Marked A/D 0, 1, 2 or 3 on the Propeller Activity Board. |