Gセンサ制御 実装版

Dependencies:   mbed

Fork of BLE_WallbotBLE_Challenge_byYUTAKA by keisuke Yoshida

Revision:
10:d443aea353a2
Parent:
9:965bfb378463
diff -r 965bfb378463 -r d443aea353a2 main.cpp
--- a/main.cpp	Wed Jun 13 06:52:56 2018 +0000
+++ b/main.cpp	Mon Jun 18 06:18:04 2018 +0000
@@ -410,7 +410,7 @@
         gyTimer.reset();
      
         //floatの値を合計5桁、小数点以下3桁の形でPCへ送信
-//        pc.printf("%5.3f:%5.3f:%5.3f:%5.3f:%5.3f:%5.3f \n", acData[0], acData[1], acData[2],gyData[0],gyData[1],gyData[2]);  
+        pc.printf("%5.3f:%5.3f:%5.3f:%5.3f:%5.3f:%5.3f \n", acData[0], acData[1], acData[2],gyData[0],gyData[1],gyData[2]);  
 
         ax = acData[0];
         ay = acData[1];
@@ -452,7 +452,7 @@
         switch(stt_Mode)
         {
             case 1:                 // Up Straight
-                pc.printf("Mode 1 \n");
+//                pc.printf("Mode 1 \n");
             
 //            for(int i = 0; i < 30; i++)
 //            {