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.
Dependents: Lab9-01_All_transmit Lab9-03_Thermal_chamber 3daf572bcae1 Team ... more
Fork of Hepta9axis by
Revision 1:5b35162b3b6a, committed 2017-08-05
- Comitter:
- hepta2ume
- Date:
- Sat Aug 05 13:35:52 2017 +0000
- Parent:
- 0:5aaec0996753
- Child:
- 2:306058b9d04e
- Commit message:
- test
Changed in this revision
| Hepta9axis.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Hepta9axis.cpp Wed Jul 19 08:15:01 2017 +0000
+++ b/Hepta9axis.cpp Sat Aug 05 13:35:52 2017 +0000
@@ -274,8 +274,8 @@
MPU9250.write(addr_accel_gyro|0x01);
gyl = MPU9250.read(0);
MPU9250.stop();
- sprintf( g1, "%02X", ((gyh)) & 0xFF);
- sprintf( g2, "%02X", ((gyl)) & 0xFF);
+ sprintf( g1, "%02X", (gyh) & 0xFF);
+ sprintf( g2, "%02X", (gyl) & 0xFF);
gy_u16[0]=g1[0];
gy_u16[1]=g1[1];
gy_u16[2]=g2[0];
