STM32L152RC 在keil4中使用printf()和scanf() 函数

1、在keil中配置使用Micro LIB,如下图 2、配置USART模块  void SYS_USARTInit(void) {     static USART_InitTypeDef USART_InitStructure;     static GPIO_InitTypeDef GPIO_InitStructure;       USART_InitStructure.USART_Baud
相关文章
相关标签/搜索