NetBurner 3.1
WebSockets/DIPSwitches/src/SimpleAD.h
1
/* Revision: 0.0.0 */
2
3
/******************************************************************************
4
* Copyright 1998-2019 NetBurner, Inc. ALL RIGHTS RESERVED
5
*
6
* Permission is hereby granted to purchasers of NetBurner Hardware to use or
7
* modify this computer program for any use as long as the resultant program
8
* is only executed on NetBurner provided hardware.
9
*
10
* No other rights to use this program or its derivatives in part or in
11
* whole are granted.
12
*
13
* It may be possible to license this or other NetBurner software for use on
14
* non-NetBurner Hardware. Contact sales@Netburner.com for more information.
15
*
16
* NetBurner makes no representation or warranties with respect to the
17
* performance of this computer program, and specifically disclaims any
18
* responsibility for any damages, special or consequential, connected with
19
* the use of this program.
20
*
21
* NetBurner
22
* 5405 Morehouse Dr.
23
* San Diego, CA 92121
24
* www.netburner.com
25
******************************************************************************/
26
27
#include <basictypes.h>
28
29
// Setup the A/D converter to be ready to run
30
void
InitSingleEndAD();
31
32
// Start A/D conversion set.
33
void
StartAD();
34
35
// Return true if the conversion is complete
36
bool
ADDone();
37
38
// Return the AD Result
39
uint16_t GetADResult(
int
ch);
examples
WebSockets
DIPSwitches
src
SimpleAD.h
Generated by
1.8.14