Releases: adafruit/Adafruit_CircuitPython_Display_Button
1.4.0 - Use extended Group instance
This versions contains a change to the API that will require user code to be updated. Backward compatibility is provided for now with a printed deprecation warning. See the simpletest or docs for example usage of new API.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-display-button
.
Read the docs for info on how to use it.
1.3.4 - Fixed discord invite link
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-display-button
.
Read the docs for info on how to use it.
Updated module name in setup
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-display-button
.
Read the docs for info on how to use it.
Added displayio as a Blinka dependency
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-display-button
.
Read the docs for info on how to use it.
1.3.1 - Added Black check, reran Black with Python 3 target.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-display-button
.
Read the docs for info on how to use it.
1.3.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-display-button
.
Read the docs for info on how to use it.
Examples Update
- Moved previous
display_button_simpletest.py
todisplay_button_customfont.py
- Made
display_button_simpletest.py
more simple
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-display-button
.
Changed Display Button to be a subclass of a group
Display Button is now a subclass of a Group. Note: This should not break any existing code :)
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-display-button
.
Fixed issue causing button to not draw under certain conditions
An issue has been fixed that caused the button to not be drawn if both fill and outline were set to 0 (black). Thanks @jpecor.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-display-button
.
Updated SimpleTest
SimpleTest example is much easier to use.
- Now showing all buttons
- Fixed the label of one button
- Switched to a much more available font
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-display-button
.
Read the docs for info on how to use it.