Skip to content

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

29 Jan 20:37
c1a765d
Compare
Choose a tag to compare

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

22 Jan 20:09
d7dd9ea
Compare
Choose a tag to compare

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.

17 Jun 21:23
3c54032
Compare
Choose a tag to compare

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.

10 Apr 18:25
e9f15d6
Compare
Choose a tag to compare

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

21 Mar 00:34
418ca98
Compare
Choose a tag to compare

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

03 Feb 15:30
62f8df1
Compare
Choose a tag to compare

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

17 Jan 02:13
Compare
Choose a tag to compare

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

17 Dec 22:37
82ba9e4
Compare
Choose a tag to compare

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!

02 Dec 21:20
f042c59
Compare
Choose a tag to compare

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"

18 Nov 21:52
e9fbaf9
Compare
Choose a tag to compare

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.