Skip to content

Releases: wollewald/MPU9250_WE

Bug in my last release - issue with ESP32

12 Feb 20:22
3476c93
Compare
Choose a tag to compare

1.2.8 did not compile with ESP32 boards. This is fixed.

Added functions to reuse autoOffset Data

10 Feb 12:42
fb39c96
Compare
Choose a tag to compare

With getAccOffsets() and getGyrOffsets() you can query the current offsets. If you don't want to perform autoOffset() with every restart, you can write this data back with setAccOffsets() and setGyrOffsets().

Sleep example sketch added

16 Sep 17:38
5f68506
Compare
Choose a tag to compare

I added MPU9250_sleep.ino to show how to set the MPU9250 and its magnetometer to sleep.

Change in reading the data registers

04 Oct 18:19
114d9e2
Compare
Choose a tag to compare

The functions which read the x, y and z raw values for the three sensors from the data registers had returned the result as an uint64_t. I have changed that. Now the results are "packed" into an uint8_t array with 6 elements. The calling functions pass the array to the reading functions as a pointer.

Separated xyzFloat definition

12 Aug 15:29
2da7ce4
Compare
Choose a tag to compare

If you want to use both an MPU9250 and an ICM20948 in one sketch it won't compile because of the double definition of xyzFloat. I have separated xyzFloat. You can delete xyzFloat.h and xyzFloat.cpp in one of the libraries if you use both.

Added a "Who Am I" sketch.

31 Jul 10:48
c343b48
Compare
Choose a tag to compare

To help users to find out which device they have, I have added a "Who Am I" sketch, which reads the "WhoAmI" register.

README.md update with comments on different MPUxxxx variants

28 Jul 08:47
e4777c6
Compare
Choose a tag to compare

I have updated README.md with comments on different MPUxxxx variants.

Changed pitch calculation

07 Jul 18:32
6034425
Compare
Choose a tag to compare

I have changed the pitch angle calculation which is more widely used, e.g. here:

https://wiki.dfrobot.com/How_to_Use_a_Three-Axis_Accelerometer_for_Tilt_Sensing

SPI added

25 Mar 20:58
7cfbb7c
Compare
Choose a tag to compare

SPI has been implemented.

MPU6500 implemented

20 Mar 10:55
10899f5
Compare
Choose a tag to compare

Due to the great work of @JohannesWilde , the library works now also for the MPU6500.