Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DataPool MD_PID mbed
Diff: main.cpp
- 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