広田 勇斗 / Mbed 2 deprecated BETA_A

Dependencies:   DataPool MD_PID mbed

Revision:
7:9eb4edae11c9
Parent:
3:15f75374bff5
Child:
8:c2569e1c34d7
--- a/main.cpp	Thu Sep 07 00:41:04 2017 +0000
+++ b/main.cpp	Thu Sep 07 00:42:39 2017 +0000
@@ -17,9 +17,9 @@
     float x, y, t;
     while(1) {
         beta->set();
-        x = beta->read(0);
-        y = beta->read(1);
-        t = beta->read(2);
+        x = beta->read(0) / 128;
+        y = beta->read(1) / 128;
+        t = beta->read(2) / 128;
         Omni.Drive(x, y, t);
     }
 }
\ No newline at end of file