Releases: adafruit/Adafruit_CircuitPython_CircuitPlayground
4.3.0 - Added more configuration options for the tap detection, cleaned up deprecated code, moved pulseio.PWMOut to pwmio.PWMOut
This release is NOT compatible with CircuitPython 5.x
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-circuitplayground
.
Read the docs for info on how to use it.
4.2.1 - Improved tap sensitivity, moved to pre-commit, added licensing info
pre-commit has been added to the GitHub Actions workflow in this repository. pre-commit allows you to run multiple checks, such as black and checking the REUSE licensing compliance, both locally and on GitHub Actions with one command.
You can run pre-commit locally with pre-commit run --all-files
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-circuitplayground
.
Read the docs for info on how to use it.
Add play_mp3 to Bluefruit.
Includes example. Thanks to @FoamyGuy for adding this!
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
4.1.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-circuitplayground
.
Read the docs for info on how to use it.
4.1.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-circuitplayground
.
Read the docs for info on how to use it.
Add NotImplementedError to Express module
Raise NotImplementedError if attempting to use non-Express features on Circuit Playground Express with Express module.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
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.
- Many examples have been updated
- Some documentation changes
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-circuitplayground
.
Read the docs for info on how to use it.
Now detects board type automatically
THIS IS A BREAKING CHANGE FOR THE UPDATED EXAMPLES - all updated examples use the new import type now, and therefore require the latest version of the library. However, all previous code will continue to work as-is.
You can now from adafruit_circuitplayground import cp
and it will detect whether you are using a Circuit Playground Express or Circuit Playground Bluefruit and import the appropriate module.
REQUIRES LATEST CHANGES TO CIRCUITPYTHON TO USE ON CIRCUIT PLAYGROUND EXPRESS. Always update to the latest CircuitPython.
Both from adafruit_circuitplayground.express import cpx
and from adafruit_circuitplayground.bluefruit import cpb
still work, so all previous example code will continue to work with the updated library.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
Now with Bluefruit!
This release includes a complete refactor of the Circuit Playground library to now include support for Circuit Playground Bluefruit!
No changes required to continue using the library with Circuit Playground Express.
To use with Bluefruit:
from adafruit_circuitplayground.bluefruit import cpb
then you can access all the features, for example the temperature would be accessed using cpb.temperature
.
Also includes two new features for Bluefruit: sound_level
and loud_sound
. Check out the docs for more information!
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
New examples, added "were_pressed"
Thanks to @dcbriccetti for the new Advanced examples!
Thanks to @deshipu for the were_pressed
property!
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.