Skip to content

Commit aa2e207

Browse files
committed
Adding credit for PR #40 and #41
1 parent 69660a9 commit aa2e207

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ Thank to all those who have helped improve the library:
1818
* blendmaster for adding [Linear Accel report](https://github.com/sparkfun/SparkFun_BNO080_Arduino_Library/pull/4)
1919
* per1234 for fixing our [keywords file](https://github.com/sparkfun/SparkFun_BNO080_Arduino_Library/pull/12)
2020
* fm4dd for typo - [PR 19](https://github.com/sparkfun/SparkFun_BNO080_Arduino_Library/pull/19)
21+
* tstellanova for heading accuracy correction - [PR 40](https://github.com/sparkfun/SparkFun_BNO080_Arduino_Library/pull/40)
22+
* badVibes for gyro integrated rotation vector support - [PR 41](https://github.com/sparkfun/SparkFun_BNO080_Arduino_Library/pull/41)
2123

2224
Repository Contents
2325
-------------------
2426

25-
* **/examples** - Example sketches for the library (.ino). Run these from the Arduino IDE.
27+
* **/examples** - Example sketches for the library (.ino). Run these from the Arduino IDE.
2628
* **/src** - Source files for the library (.cpp, .h).
27-
* **keywords.txt** - Keywords from this library that will be highlighted in the Arduino IDE.
28-
* **library.properties** - General library properties for the Arduino package manager.
29+
* **keywords.txt** - Keywords from this library that will be highlighted in the Arduino IDE.
30+
* **library.properties** - General library properties for the Arduino package manager.
2931

3032
Documentation
3133
--------------
@@ -36,9 +38,9 @@ Documentation
3638
License Information
3739
-------------------
3840

39-
This product is _**open source**_!
41+
This product is _**open source**_!
4042

41-
Please review the LICENSE.md file for license information.
43+
Please review the LICENSE.md file for license information.
4244

4345
If you have any questions or concerns on licensing, please contact [email protected].
4446

examples/Example16-GyroIntegratedRotationVector/Example16-GyroIntegratedRotationVector.ino

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
/*
22
Using the BNO080 IMU
3+
4+
By: Boštjan Čadež (@badVibes--)
5+
Date: April 3rd, 2020
6+
7+
Based on earlier examples
38
By: Nathan Seidle
49
SparkFun Electronics
510
Date: December 21st, 2017
@@ -8,16 +13,15 @@
813
Feel like supporting our work? Buy a board from SparkFun!
914
https://www.sparkfun.com/products/14586
1015
11-
This example shows how to output the i/j/k/real parts of the rotation vector.
12-
https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation
16+
This example shows how to use the gyro integrated rotation vector
1317
1418
It takes about 1ms at 400kHz I2C to read a record from the sensor, but we are polling the sensor continually
1519
between updates from the sensor. Use the interrupt pin on the BNO080 breakout to avoid polling.
1620
1721
Hardware Connections:
1822
Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other
1923
Plug the sensor onto the shield
20-
Serial.print it out at 9600 baud to serial monitor.
24+
Serial.print it out at 115200 baud to serial monitor.
2125
*/
2226

2327
#include <Wire.h>
@@ -27,7 +31,7 @@ BNO080 myIMU;
2731

2832
void setup()
2933
{
30-
Serial.begin(9600);
34+
Serial.begin(115200);
3135
Serial.println();
3236
Serial.println("BNO080 Read Example");
3337

@@ -39,7 +43,7 @@ void setup()
3943
// // Start i2c and BNO080
4044
// Wire.flush(); // Reset I2C
4145
// IMU.begin(BNO080_DEFAULT_ADDRESS, Wire);
42-
// Wire.begin(4, 5);
46+
// Wire.begin(4, 5);
4347
// Wire.setClockStretchLimit(4000);
4448
// //=================================
4549

0 commit comments

Comments
 (0)