Example/test programs for my BNO080 driver.
BNO080 Driver Examples
These examples show how to use some of the functionality on my BNO080 driver. To get started with MBed CLI:
Build Instructions
$ hg clone https://MultipleMonomials@os.mbed.com/users/MultipleMonomials/code/BNO080-Examples/ $ cd BNO080-Examples $ mbed deploy $ mbed compile
Diff: BNOTestSuite.h
- Revision:
- 5:ee64252765de
- Parent:
- 4:85b98cc04a0a
--- a/BNOTestSuite.h Tue Jul 21 22:00:26 2020 -0700 +++ b/BNOTestSuite.h Tue Nov 24 15:27:32 2020 -0800 @@ -8,13 +8,16 @@ #include <mbed.h> #include "BNO080.h" +#include "BNO080Async.h" #include "SerialStream.h" BufferedSerial serial(USBTX, USBRX, 115200); SerialStream<BufferedSerial> pc(serial); // These pin assignments are specific to my dev setup -- you'll need to change them -BNO080 imu(&pc, p28, p27, p16, p30, 0x4a, 100000); +BNO080I2C imu(&pc, PF_0, PF_1, D13, D12, 0x4a, 400000); +//BNO080SPI imu(&pc, D12, D13, D11, PB_4, PB_5, PB_3, PA_4, 3000000); +//BNO080Async imu(&pc, D12, D13, D11, PB_4, PB_5, PB_3, PA_4, 3000000); class BNOTestSuite{ public: