ROBOSTEP_5期 / Mbed 2 deprecated George_Master_Param

Dependencies:   mbed robot

Revision:
47:b77796718a9b
Parent:
46:c58335028928
--- a/main.cpp	Fri May 17 06:07:59 2019 +0000
+++ b/main.cpp	Fri May 17 10:46:05 2019 +0000
@@ -62,7 +62,8 @@
             motor_lo.setDutyLimit(0.6);
             motor_li.setDutyLimit(0.6);
             for(int i = 0; i < 30; i++) {
-                straightAndInfinity(0, 7, UNSYNC);
+                straight(UNSYNC);
+                checkUW(0, degree0, ec_lo.getCount());
             }
             printf("get distance mode");
             for(int i=0; i<1; ++i) {