23 lines
247 B
C
23 lines
247 B
C
![]() |
/*
|
||
|
* adc.h
|
||
|
*
|
||
|
* Created on: 03.10.2014
|
||
|
* Author: wn
|
||
|
*/
|
||
|
|
||
|
#ifndef ADC_H_
|
||
|
#define ADC_H_
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
|
||
|
const uint32_t ADC_TIME_OUT = 100000;
|
||
|
const uint16_t ADC_MAX = 1023;
|
||
|
|
||
|
void adcInit();
|
||
|
uint16_t adcGet();
|
||
|
|
||
|
|
||
|
|
||
|
#endif /* ADC_H_ */
|