- 博客(2)
- 收藏
- 关注
原创 HAL库_多串口数据收发 -学习日志{可将其他串口数据通过同一串口发出(中断接收/轮询发送)}
保姆级学习日志此程序使用中断接收/轮询发送,各个串口可以独立收发或将其他串口接收到的数据统一发给其中某一串口。效果如下//主函数//包含头文件#include "stm32f4xx_hal.h"#include "string.h"#include "my_usartx1.h"#include "my_usartx2.h"#include "my_usartx3.h"//接收缓冲区定义uint8_t Usart1_Rxbuffer;uint8_t Usart2_Rxbuffer
2020-12-17 11:55:51
954
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人