finally find the problem of code disappearing

This commit is contained in:
2024-11-03 13:57:26 +01:00
parent 0dc3b33b6f
commit d49401d262
20 changed files with 472 additions and 630 deletions

9
Software/Core/Inc/adc.h Normal file
View File

@ -0,0 +1,9 @@
#ifndef INC_ADC
#define INC_ADC
#include "stm32f0xx_hal_adc.h"
void adc_init(ADC_HandleTypeDef* hadc);
void adc_loop(ADC_HandleTypeDef* hadc);
void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc);
#endif