1. Create a project
2. Core: add a new file usar_fputc.c (name whatever you want), add the file to the project Go
#include “stdio.h”
#include “stm32f1xx_hal.h”
extern UART_Handl
1. Create a project
2. Core: add a new file usar_fputc.c (name whatever you want), add the file to the project Go
#include “stdio.h”
#include “stm32f1xx_hal.h”
extern UART_Handl
1. Use CubeMX to configure serial port 1 (1) Configure the baud rate of serial port 1 to 9600. If the baud rate is set too high, sometimes the message will not be received. Encountered. Then open t