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_SPI by
Diff: MPU9250.h
- Revision:
- 4:79185409730f
- Parent:
- 3:f4fa24cc247d
- Child:
- 5:f15d1d9d1561
--- a/MPU9250.h Wed Jun 25 15:41:05 2014 +0000 +++ b/MPU9250.h Thu Jun 26 13:03:12 2014 +0000 @@ -62,14 +62,20 @@ void select(); void deselect(); unsigned int whoami(); + unsigned int AK8963_whoami(); + void AK8963_read_Magnetometer(); + + float acc_divider; float gyro_divider; + float Magnetometer_divider; int calib_data[3]; + float accelerometer_data[3]; float Temperature; float gyroscope_data[3]; - float accelerometer_data[3]; + float Magnetometer[3]; private: PinName _CS_pin;