Transmit ADC value through UART

This commit is contained in:
Miducc
2023-06-23 09:36:20 +07:00
parent b7cfc2b3ea
commit 7ef22b7923
2 changed files with 41 additions and 0 deletions

9
inc/ad_converter.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef _AD_CONVERTER_
#define _AD_CONVERTER_
#include "stdint.h"
void adc_config();
uint8_t read_adc();
#endif