Releases: adafruit/Adafruit_CircuitPython_INA219
3.4.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
.pylintrcfile 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-ina219.
Read the docs for info on how to use it.
3.3.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-ina219.
Read the docs for info on how to use it.
Added a new mode for measuring currents up to 5.0 A.
Thanks @wallarug for the update!
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-ina219.
Read the docs for info on how to use it.
Fixes Bus Voltage > 16V
This release includes a fix that was preventing .bus_voltage to report voltages > 16.0 volts.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-ina219.
Read the docs for info on how to use it.
Expanded Properties & Now Uses adafruit_register
- Change internals to use
adafruit_registerfor register and bit-field read/write - Updated table of constants, including fix BusADCResolution values (Issue#5), add new values
- Add new properties to access registers (advanced API)
- Update i
na219_simpletest.pyto show some usage of the new properties
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-ina219.
Read the docs for info on how to use it.
README updated.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-ina219.
Read the docs for info on how to use it.
Update to .pylintrc
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-ina219.
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-ina219.
Read the docs for info on how to use it.
Improved reference documentation.
Thanks to @sommersoft for the great work!
Sphinx update.
Thanks to @brentru for the great work!