広田 勇斗 / Mbed 2 deprecated BETA_A

Dependencies:   DataPool MD_PID mbed

Revision:
9:feb86a283109
Parent:
8:c2569e1c34d7
Child:
11:5365da759270
--- a/main.cpp	Thu Sep 07 01:26:59 2017 +0000
+++ b/main.cpp	Thu Sep 14 00:42:29 2017 +0000
@@ -17,9 +17,9 @@
     float x, y, t;
     while(1) {
         beta->set();
-        x = beta->read(0) / 128;
-        y = beta->read(1) / 128;
-        t = beta->read(2) / 128;
+        x = beta->read(0) / 128.00;
+        y = beta->read(1) / 128.00;
+        t = beta->read(2) / 128.00;
         Omni.Drive(x, y, t);
     }
 }
\ No newline at end of file