move adc to seperate file

This commit is contained in:
2021-04-29 01:44:54 +02:00
parent 92f31a1849
commit 911967c9cc
3 changed files with 78 additions and 46 deletions

12
adc.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef _ADC_H_
#define _ADC_H_
#include "buffer.h"
extern volatile buffer_t adc_buf[4];
extern volatile float adc_avrg[4];
void initADC(void);
#endif//_ADC_H_