ALPHA_A
Dependencies: DataPool MD_PID mbed
Diff: main.cpp
- Revision:
- 5:1142db72d16d
- Parent:
- 4:169a7b6c0138
- Child:
- 6:bb5e51ded250
diff -r 169a7b6c0138 -r 1142db72d16d main.cpp --- a/main.cpp Thu Sep 14 00:36:55 2017 +0000 +++ b/main.cpp Thu Sep 14 00:41:27 2017 +0000 @@ -17,9 +17,9 @@ float x, y, t; while(1) { alpha->set(); - x = alpha->read(0) / 128; - y = alpha->read(1) / 128; - t = alpha->read(2) / 128; + x = alpha->read(0) / 128.00; + y = alpha->read(1) / 128.00; + t = alpha->read(2) / 128.00; Mecanamu.Drive(x, y, t); } } \ No newline at end of file