PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Simple-Libraries
Learn
Simple Libraries
Convert
libadcDCpropab
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
simpletools.h
This library provides convenient functions for a variety of microcontroller I/O, timing,...
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
adc_init
void adc_init(int csPin, int sclPin, int doPin, int diPin)
Initialize A/D converter.
Definition:
adcDCpropab.c:21
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