stm32cubemx和MDK工具实现UART串口打印信息

1.在cube中配好uart和rcc 2.在主函数中加入头文件include <stdio.h> 3. 4.格式例如:printf("[\t main] info : stm32\r\n") 5.效果:
相关文章
相关标签/搜索