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:
- 3:f4fa24cc247d
- Parent:
- 2:f274ea3bced9
- Child:
- 4:79185409730f
--- a/MPU9250.h Sat Jun 21 12:39:55 2014 +0000 +++ b/MPU9250.h Wed Jun 25 15:41:05 2014 +0000 @@ -53,12 +53,12 @@ void ReadRegs( uint8_t ReadAddr, uint8_t *ReadBuf, unsigned int Bytes ); bool init(int sample_rate_div,int low_pass_filter); + void read_temp(); void read_acc(); void read_rot(); unsigned int set_gyro_scale(int scale); unsigned int set_acc_scale(int scale); void calib_acc(); - float read_temp(); void select(); void deselect(); unsigned int whoami(); @@ -67,6 +67,7 @@ float gyro_divider; int calib_data[3]; + float Temperature; float gyroscope_data[3]; float accelerometer_data[3];