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.
Fork of MPU9250 by
Diff: MPU9250.h
- Revision:
- 3:15a3bd361cb3
- Parent:
- 2:855c83d4c7d6
--- a/MPU9250.h Sat Aug 06 11:46:39 2016 +0000
+++ b/MPU9250.h Sat Aug 06 12:03:45 2016 +0000
@@ -189,10 +189,8 @@
uint8_t Mmode = 0x06; // Either 8 Hz 0x02) or 100 Hz (0x06) magnetometer data ODR
float aRes, gRes, mRes; // scale resolutions per LSB for the sensors
-//Set up I2C, (SDA,SCL)
+ //Set up I2C
I2C i2c(I2C_SDA, I2C_SCL);
-
-DigitalOut myled(LED1);
// Pin definitions
int intPin = 12; // These can be changed, 2 and 3 are the Arduinos ext int pins
