STM32单片机使用注意事项

串口输入乱码
1.target 修改成 8.0
2.stm32Fxx.h
将 //#define HSE_VALUE ((uint32_t)25000000) /*!< Value of the External oscillator in Hz */
改成 #define HSE_VALUE ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */

猜你喜欢

转载自www.cnblogs.com/LKit/p/8881476.html