ALPHA_A

Dependencies:   DataPool MD_PID mbed

Revision:
3:42fdfd41f96a
Parent:
1:3082e5f990cd
Child:
4:169a7b6c0138
diff -r 71352fda301b -r 42fdfd41f96a main.cpp
--- a/main.cpp	Thu Aug 31 00:20:24 2017 +0000
+++ b/main.cpp	Thu Sep 07 00:37:39 2017 +0000
@@ -17,9 +17,9 @@
     float x, y, t;
     while(1) {
         alpha->set();
-        x = alpha->read(0);
-        y = alpha->read(1);
-        t = alpha->read(2);
+        x = alpha->read(0) / 128;
+        y = alpha->read(1) / 128;
+        t = alpha->read(2) / 128;
         Mekanamu.Drive(x, y, t);
     }
 }
\ No newline at end of file