Propeller Activity Board A/D Voltage Library  v0.85
Take DC voltage measurements with A/D 0, 1, 2, and/or 3.
adcDCpropab.h
Go to the documentation of this file.
1 
17 #ifndef PROPAB_ADC_DC_H
18 #define PROPAB_ADC_DC_H
19 
20 #if defined(__cplusplus)
21 extern "C" {
22 #endif
23 
24 #include "simpletools.h"
25 
72 void adc_init(int csPin, int sclPin, int doPin, int diPin);
73 
83 int adc_in(int channel);
84 
94 float adc_volts(int channel);
95 
96 #if defined(__cplusplus)
97 }
98 #endif
99 /* __cplusplus */
100 #endif
101 /* PROPAB_ADC_DC_H */
102