Releases: adafruit/Adafruit_CircuitPython_BNO055
5.2.0 - Added ability to configure accelerometer, magnetometer, and gyroscope
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-bno055
.
Read the docs for info on how to use it.
5.1.0 - Added documentation for modes, added i2c-gpio example
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-bno055
.
Read the docs for info on how to use it.
5.0.2 - Significantly improved speed and reliability in UART mode
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-bno055
.
Read the docs for info on how to use it.
5.0.1 - Changed _gyro property from magnetic register to gyro address 0x14
Thanks @russmac
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-bno055
.
Read the docs for info on how to use it.
UART Support
BREAKING CHANGE
- Updated to add UART support
- Classes were refactored - this will break older code
- Example updated
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-bno055
.
Read the docs for info on how to use it.
4.2.1 - Added Black check, reran Black with Python 3 target, renamed folder in examples
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-bno055
.
Read the docs for info on how to use it.
4.2.0 - Upgrade to latest Pylint, implement Black formatting
We have upgraded Pylint checks to use the latest version of Pylint and implemented usage of Black Python formatting. This does not change the functionality of the code - it is designed to bring it up to current standards and make it more readable.
- Remove pinned Pylint version number from build.yml file
- Synced
.pylintrc
file to match Adafruit standard - Ran upgraded Pylint and applied any changes or new disables necessary
- Ran Black formatter and allowed application of changes across entire repo
For more information on using Pylint and Black on your code, check out this guide on working with Pylint and Black
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-bno055
.
Read the docs for info on how to use it.
Add calibration offsets and radii
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-bno055
.
Read the docs for info on how to use it.
4.0.1 - Changed CI from Travis to GitHub Actions
This release includes:
- Migrating this repository from Travis to GitHub Actions. This has no effect on the behavior of the code itself.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-bno055
.
Read the docs for info on how to use it.
[Breaking Changes] Removed deprecated properties, changed behavior of disabled properties
NOTE: This release has breaking changes
Breaking changes:
accelerometer
property has been removed, the equivalent non-deprecated property isacceleration
.magnetometer
property has been removed, the equivalent non-deprecated property ismagnetic
.gyroscope
property has been removed, the equivalent non-deprecated property isgyro
.
Non-breaking changes:
- If a property is disabled by putting it in a mode that it is disabled in, it will now return a tuple filled with
None
instead of a tuple filled with zeroes
Old behavior:
>>> sensor.mode = bno055.ACCONLY_MODE #everything other than acceleration is disabled
>>> print(sensor.gyro)
(0, 0, 0)
New Behavior:
>>> sensor.mode = bno055.ACCONLY_MODE
>>> print(sensor.gyro)
(None, None, None)
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-bno055
.
Read the docs for info on how to use it.