diff --git a/users/Src/adcs.c b/users/Src/adcs.c index b80d28f..e929da5 100644 --- a/users/Src/adcs.c +++ b/users/Src/adcs.c @@ -1,3 +1,11 @@ +/* + * @Author: wujunchao wujunchao@wuxismart.com + * @Date: 2024-08-21 13:24:11 + * @LastEditors: wujunchao wujunchao@wuxismart.com + * @LastEditTime: 2024-09-13 16:42:49 + * @FilePath: \acdt\users\Src\adcs.c + * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + */ #include "adcs.h" @@ -12,6 +20,8 @@ void adcs_init(void) void adcs_data(void) { + //HAL_ADC_Start(&hadc1); + //ADC_ConvertedValue = HAL_ADC_GetValue(&hadc1); InputReg[12] = ADC_ConvertedValue; }