Skip to content

v1.2.1

Compare
Choose a tag to compare
@ShellAddicted ShellAddicted released this 22 Feb 19:19
· 1 commit to master since this release

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 calling stop() just don't use it,
    use it only when NECESSARY otherwise destructor ~BNO055() will 'autonomously' take care of everything.
    DO NOT USE stop() to disable bno055 for short periods because it's inefficient,
    see setPwr*and setOprMode* wrappers and check the datasheet to do that in the right way.