Changelogs » Adafruit-circuitpython-register

PyUp Safety actively tracks 232,000 Python packages for vulnerabilities and notifies you when to upgrade.

Adafruit-circuitpython-register

1.9.0

Thanks to jepler, we can now read signed bitfields without doing the math ourselves! Huzzah!
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.8.2

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.8.1

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.8.0

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](https://learn.adafruit.com/improve-your-code-with-pylint)
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.7.4

This release includes:
  * Fixed a section in the README was not allowing it to render properly in PyPI
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.7.3

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](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.7.2

* Update for removal of `stop` kwarg. ([more info](https://github.com/adafruit/circuitpython/issues/2082))
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.7.1

Example filenames are now Adabot Approved. Thanks dherrada.
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.7.0

The previous versions assumed data coming from registers was LSB first. This release updates `RWBit` and `RWBits` to allow the user to override the LSB-first default to specify MSB-first.
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.6.0

- Fix off by one that caused [adafruit/Adafruit_CircuitPython_CCS81128](https://github.com/adafruit/Adafruit_CircuitPython_CCS811/issues/28)
  - Replace two i2c calls with one, this will make non-repeated-start chips work on linux (yay linux)
  - Allow any position on RWBits (can be multibyte)
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.5.1

With aplomb!
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.5.0

* Updated `i2cbit` and `i2cbits` to work with multiple bytes per register
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.4.0

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.3.3

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  To use in CPython, `pip3 install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.3.2

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  To use in CPython, `pip install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.3.1

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  To use in CPython, `pip install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.3.0

* Add error checking to ensure "minutely" alarms raise an Exception when unsupported. Thanks apatt
  * Update to install from pypi (using `pip`.)
  
  To use in CircuitPython, download the .mpy file and copy it to the `lib` folder on the `CIRCUITPY` drive. Or, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  To use in CPython, `pip install adafruit-circuitpython-register`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.2.1

Thanks to brentru for updating the ReadTheDocs README badge.
  
  To use in CircuitPython, download the .mpy file and copy it to the `lib` folder on the `CIRCUITPY` drive. Or, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.2.0

Improved memory usage with these classes.

1.1.0


        

1.0.3

Changes made to follow changes in Adafruit_Circuitpyton_BusDevice.I2CDevice

1.0.2

Prep for CircuitPython 3.x which will have `struct` instead of `ustruct`. Thanks to mrmcwethy
  
  To use in CircuitPython, download the .mpy file and copy it to the `lib` folder on the `CIRCUITPY` drive. Or, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Addafruit_CircuitPython_Bundle).
  
  Read the [docs](https://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.0.1

mrmcwethy updated BCDDateTimeRegister to use `time.struct_time` for setting values.
  
  To use in CircuitPython, download the .mpy file and copy it to the `lib` folder on the `CIRCUITPY` drive. Or, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Addafruit_CircuitPython_Bundle).
  
  Read the [docs](https://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

1.0.0

First stable release. Includes one fix to `i2c_bits` [from 0.1.1](https://github.com/adafruit/Adafruit_CircuitPython_Register/compare/0.1.1...1.0.0).
  
  To use in CircuitPython, download the .mpy file and copy it to the `lib` folder on the `CIRCUITPY` drive. Or, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  Read the [docs](https://circuitpython.readthedocs.io/projects/register/en/latest/) for info on how to use it.

0.1.1

Fix README for new I2CDevice API. Make sure your [CircuitPython](https://github.com/adafruit/circuitpython) and libraries are up to date!

0.1.0

This changes the api of I2CDevice to make more sense when not providing the address:
  * `readfrom_into` is now `read_into`
  * `writeto` is not `write`
  
  This is also updated to work with CircuitPython 0.9.4+ with the `nativeio` split.

0.0.5

This is a version of the Struct class that assumes only a single value is set/get and removes the need for explicit tuple packing/unpacking.

0.0.4

Improvements for RTC classes:
  - Switch to `time.struct_time`.
  - Fix up alarm register to take occurrence date and time plus a frequency.

0.0.3

New release with fix for I2C struct setter.

0.0.2