Get the App
SLTechnology News&Howtos  ›  Servers  › 

STM32F4: on the problem of garbled codes in serial port printing

Shulou Source: shulou.com Published: 2022-06-02 21:15:11 09月22日 Update

Procedure Chinese:

Serial port Chinese garbled code:

Modifications:

Make sure the program USART baud rate and window serial port are the same. If not, do the following.

Close Project and open main.c.

Select, right click-> Notepad-> Open.

Click File-> Save As in the upper left corner

Modify the bottommost encoding format

Change to ANSI-> Save

Compile Engineering, Download

Success is as shown

Tags: Serial port Chinese engineering program garbled success location upper left corner location file aspect format baud rate coding notepad Porter such as figure compilation problem Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Tech Info Huawei Shulou Technology vpn