Releases: adafruit/Adafruit_CircuitPython_BNO055
[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.
Change to gyro and rads/sec
- Change parameter name to gyro and units to rads/sec
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.
I2C Update
- Update for removal of
stop
kwarg. (more info)
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.
WebGL Example
- Add ported version of WebGL example from previous library.
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.
Fix Mode Setting
- Thanks @peterhinch for the find and fix.
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.
Update to README.
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.
Updates to calibration
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-bno055
.
Read the docs for info on how to use it.
Now on PyPi!
- Added
setup.py
- Added PyPI release info to
.travis.yml
- Updated
requirements.txt
- Added a more comprehensive
.gitignore
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-bno055
.
Read the docs for info on how to use it.
Improved reference documentation.
Thanks to @sommersoft for getting this fixed up!
Sphinx update.
Thanks to @brentru for the great work!