College Project
Dependents: MPU9250_SPI_Test_1201
Diff: MPU9250.h
- Revision:
- 4:79185409730f
- Parent:
- 3:f4fa24cc247d
- Child:
- 5:f15d1d9d1561
diff -r f4fa24cc247d -r 79185409730f MPU9250.h --- 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;