Releases: ShellAddicted/BNO055ESP32
Releases · ShellAddicted/BNO055ESP32
v1.3
v1.2.1
Features:
- I²C Support. (UART is still recommended)
- CMake support
- Deprecared
setPwrMode()
(now it's private) (see new wrapper methods) - Better resource management
- Available as a managed component
New Methods
Power management
setPwrModeNormal()
setPwrModeLowPower()
setPwrModeSuspend()
Resource management
stop()
allows to [forcefully] stop the communication, set BNO055 in PWR_MODE_SUSPEND, and free all the allocated resources.
(if you can use something it does NOT mean you should!)
in most cases (99.9%) you don't have to care about callingstop()
just don't use it,
use it only when NECESSARY otherwise destructor~BNO055()
will 'autonomously' take care of everything.
DO NOT USEstop()
to disable bno055 for short periods because it's inefficient,
seesetPwr*
andsetOprMode*
wrappers and check the datasheet to do that in the right way.
v1.2
Performance Improvements (use less write/read calls as possible)
prefer stack allocation when possible (safer)
check heap allocation (may throw std::bad_allc if malloc fails)
fix readme wiring pins
v1.1
BugFix:
getSelfTestResult()
-> bno055_self_test_result_t.accelState
is now available.
new methods:
bno.getSWRevision();
bno.getBootloaderRevision();
see examples/example.cpp for more details
v1.0
Update readme