PanFLUte
adc.h
1 #ifndef ADC_H
2 #define ADC_H
3 
4 #include <stdio.h>
5 #include <avr/io.h>
6 #include <math.h>
7 #include <util/delay.h>
8 #define OFFSET 44 // Value which offsets adc to 0
9 #define N 55 // Numbers of values averaged from adc
10 
11 int adc_values_arr[N];
12 float calibrated_adc_value;
13 void adcInit(void);
14 float adcRead(void);
15 
16 #endif // ADC_H
float adcRead(void)
Definition: adc.c:14
void adcInit(void)
Definition: adc.c:9