linetrace saikyou

Dependencies:   RemoteIR TextLCD

Revision:
44:721432d6ee4b
Parent:
43:243c1455f88a
Child:
45:76e8c07d76ef
--- a/main.cpp	Thu Aug 20 01:44:17 2020 +0000
+++ b/main.cpp	Thu Aug 20 01:59:32 2020 +0000
@@ -1243,9 +1243,7 @@
         getcount=200;
         while(weberror==0) {
             SendCMD();
-            pc.printf("\nここだ\r\n");
             getreply();
-            pc.printf("\nどこだ\r\n");
             if (strstr(replybuff, "0.0.0.0") == NULL) {
                 weberror=1;   // wait for valid IP
             }
@@ -1288,13 +1286,9 @@
 // Get Command and ESP status replies
 void getreply()
 {
-    pc.printf("a\r\n");
     memset(replybuff, '\0', sizeof(replybuff));
-    pc.printf("b\r\n");
     time1.reset();
-    pc.printf("c\r\n");
     time1.start();
-    pc.printf("d\r\n");
     replycount=0;
     while(time1.read_ms()< timeout && replycount < getcount) {
         if(esp.readable()) {