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.