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: mbed DCM_AHRS_GY80 PID MMA8451Q
Fork of quadCommand by
Diff: quadCommand/sensorS/sensors.cpp
- Revision:
- 1:9b90e7de6e09
- Parent:
- 0:8681037b9a18
- Child:
- 4:ce6ad16337c5
--- a/quadCommand/sensorS/sensors.cpp Sun Jun 09 22:13:59 2013 +0000 +++ b/quadCommand/sensorS/sensors.cpp Sun Jun 09 22:33:11 2013 +0000 @@ -11,10 +11,10 @@ short sensors::getAbsoluteX() { - return (short)(acc->getAccX() * 100); + return (short)(acc->getAccX() * 10); } short sensors::getAbsoluteY() { - return (short)(acc->getAccY() * 100); + return (short)(acc->getAccY() * 10); } \ No newline at end of file