新增 Hc05 类,支持 HC-05 蓝牙模块的串口通信,增加串口设置波特率函数
All checks were successful
Build and Upload Artifact / build and upload-artifact (push) Successful in 20m1s

This commit is contained in:
2025-05-13 10:04:09 +08:00
parent c3e0edd72d
commit 69155f3ce1
9 changed files with 119 additions and 18 deletions

View File

@@ -18,5 +18,7 @@ struct Config {
static inline UART_HandleTypeDef* kCanMvUart = &hcom_uart[COM1];
static inline UART_HandleTypeDef* kHc05Uart = &hcom_uart[COM1];
static inline GpioHelper::Gpio kLed = {GPIOB, GPIO_PIN_0};
};