串口打印print函数
int fputc(int ch, FILE *f)
{
HAL_UART_Transmit(&huart1, (uint8_t *)&ch, 1, 1000);
return ch;
}
标签:ch,04,int,打印,串口,print
From: https://www.cnblogs.com/mzx233/p/17714278.html
int fputc(int ch, FILE *f)
{
HAL_UART_Transmit(&huart1, (uint8_t *)&ch, 1, 1000);
return ch;
}
标签:ch,04,int,打印,串口,print
From: https://www.cnblogs.com/mzx233/p/17714278.html