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