keiichi shimazu / Mbed 2 deprecated NITKK2019_WinterB-Manual_madebyshimazu

Dependencies:   mbed mdc_read

Revision:
3:42a8da1837f7
Parent:
2:43e1336c80e4
--- a/main.cpp	Fri Dec 27 08:16:50 2019 +0000
+++ b/main.cpp	Sat Dec 28 06:10:55 2019 +0000
@@ -1,36 +1,14 @@
 #include"mbed.h"
 #include"Control.h"
-#include"SBDBT.h"
-#include"pinmap.h"
 
 class control ctrl;
 
 int main(void){
     
     ctrl.setup();
-}
     //リフト上△、下×、回転〇
-    
- /*   while(1){
+
+    while(1){
         ctrl.run();
-       
-        if(JoyStick_TRIANGLE)
-        {
-            pwm[4] = 100;                   //上
-        }else if(JoyStick_CROSS)
-        {
-            pwm[4] = -100;                  //下
-        }else if(JoyStick_CIRCLE)
-        {
-            pwm[5] = 100;                   //回転
-        }else
-        {
-            mt5 = 0;
-            mt6 = 0;
-        }
-        
     }
-    
-    mt5.move(pwm[4]/130.0f);
-    mt6.move(pwm[5]/130.0f);
-}*/
\ No newline at end of file
+}
\ No newline at end of file