PropWare
C++ objects and CMake build system for Parallax Propeller
Home
Download
Getting Started
Documentation
Reference
About
Related Links
Namespace List
Class List
File List
Examples
Build System
File List
File Members
propsideworkspace
Learn
Simple Libraries
Convert
libabvolts
abvolts.h
1
30
#ifndef PROPAB_ABVOLTS_H
31
#define PROPAB_ABVOLTS_H
32
33
#if defined(__cplusplus)
34
extern
"C"
{
35
#endif
36
37
#include "simpletools.h"
38
39
40
#ifndef _abvolts_EE_start_
41
45
#define _abvolts_EE_start_ 63400
46
#endif
47
48
49
#ifndef _abvolts_EE_end_
50
54
#define _abvolts_EE_end_ 63400 + 16
55
#endif
56
57
58
72
void
da_init(
int
pinDA0,
int
pinDA1);
73
74
121
void
ad_init(
int
csPin,
int
sclPin,
int
doPin,
int
diPin);
122
123
132
void
da_volts(
int
channel,
float
daVal);
133
134
144
float
ad_volts(
int
channel);
145
146
175
void
da_out(
int
channel,
int
daVal);
176
177
187
int
ad_in(
int
channel);
188
189
203
void
da_res(
int
bits);
204
205
213
void
da_setupScale(
void
);
214
215
223
void
da_useScale(
void
);
224
225
233
void
da_stop(
void
);
234
235
236
#if defined(__cplusplus)
237
}
238
#endif
239
/* __cplusplus */
240
#endif
241
/* PROPAB_ADC_DC_H */
242
Generated on Sat Aug 27 2016 00:58:09 for PropWare by
1.8.12