摘要: 1.建立工程,配置好串口 2.核心:添加新文件usar_fputc.c (名字随便自己命名),把文件添加到项目中去 #include "stdio.h" #include "stm32f1xx_hal.h" extern UART_HandleTypeDef huart1; uint8_t ch; 阅读全文
posted @ 2018-08-23 11:47 白菜没我白 阅读(7891) 评论(0) 推荐(1) 编辑