1、先要包含头文件"#include <stdio.h>"2、重定向fputc在usart.c里面int fputc(int ch, FILE *f){ USART_SendData(USART1, (uint8_t)ch); //将字符强制转换为无符号整 ...
確定! 回上一頁