未完成

Dependencies:   linemiconget petbottle_Loadin5port Kinect OmniPosition PID QEI led R1307 S-ShapeModel SerialMultiByte TFmini fep2 ikarashiMDC linesSnsor omni_wheel solenoid_valve

Revision:
2:c501f6845500
Parent:
0:7822f4172b0c
diff -r 98b9d307510e -r c501f6845500 main.cpp
--- a/main.cpp	Fri Oct 12 04:48:22 2018 +0000
+++ b/main.cpp	Tue Oct 16 03:32:37 2018 +0000
@@ -7,22 +7,18 @@
 //petbottleLoading loading;
 Serial pc(USBTX, USBRX, 115200);
 Timer mainT;
+DigitalIn toggle(PC_3);
 
 int main()
 {
-//    mainT.start();
+    toggle.mode(PullUp);
     while(1) {
-//        mainT.reset();
-//        pc.printf("%f\r\n",mainT.read());
-        gakugaku.botConfirm();
-//        gakugaku.controllerMode1();
-//        gakugaku.controllMech1();
-        gakugaku.autoMode1();
-//        wait(0.01);
-        
+        gakugaku.botConfirm();//いじるな
 
-//        loading.petbottlemode();
+//        gakugaku.autoMode1();//赤
+        gakugaku.autoMode2();//青
+    
 
-    }
+}
 
 }
\ No newline at end of file