23 lines
246 B
C
23 lines
246 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 = 511;
|
|
|
|
void adcInit();
|
|
uint16_t adcGet();
|
|
|
|
|
|
|
|
#endif /* ADC_H_ */
|