stm32f10x USART的配置 以开始符和结束符发送命令(二)
int p=0;void usart_option(){ if(strstr((char*)USART_Rx_buf,"开启蜂鸣器") != NULL) { p=1; USART_SendString(USART1, "\n已经开启蜂鸣器!\n\n"); } if(strstr((char*)USART_Rx_buf,"关闭蜂鸣器") != NULL) { p=2; USART_SendString..