我那ST32F04的ESP8266 的源代码 移植到ST32F103上 出现一个问题
程序一直在做死循环,出不来
u8 key;
u8 timex;
POINT_COLOR=RED;
Show_Str_Mid(0,30,"ATK-ESP8266 WIFIÄ£¿é²âÊÔ",16,240);
while(atk_8266_send_cmd("AT","OK",20))//¼ì²éWIFIÄ£¿éÊÇ·ñÔÚÏß
{
atk_8266_quit_trans();//Í˳ö͸´«
atk_8266_send_cmd("AT+CIPMODE=0","OK",200); //¹Ø±Õ͸´«Ä£Ê½
Show_Str(40,55,200,16,"δ¼ì²âµ½Ä£¿é!!!",16,0);
delay_ms(800);
LCD_Fill(40,55,200,55+16,WHITE);
Show_Str(40,55,200,16,"³¢ÊÔÁ¬½ÓÄ£¿é...",16,0);
}
while(atk_8266_send_cmd("ATE0","OK",20));//¹Ø±Õ»ØÏÔ
atk_8266_mtest_ui(32,30);
一直死在while(atk_8266_send_cmd("AT","OK",20))//
不知道为啥? 各位大神给点意见 刚刚学习使用STM32
|