add uart send adc data(cur & voltage)

This commit is contained in:
不吃油炸鸡
2025-08-13 11:00:00 +08:00
parent 7482557df4
commit e291e27c9c
5 changed files with 66 additions and 10 deletions

View File

@@ -22,6 +22,9 @@
/* USER CODE BEGIN 0 */
// cur 5mr, cur 500mr, cur 50r, voltage
uint16_t adc_buf[ADC_TIMES][ADC_CHANELS];
/* USER CODE END 0 */
ADC_HandleTypeDef hadc1;