Skip to content

Releases: adafruit/Adafruit_CircuitPython_CircuitPlayground

Limit DAC Sample Rate

03 Oct 00:13
36ec7b3

Choose a tag to compare

Tone sample length is now checked to make sure max DAC sample rate is not exceeded and adjusted as needed.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

Read the docs for info on how to use it.

Tone and file playback fix!

16 Jun 16:11
d0aa6dc

Choose a tag to compare

Added deinit() to stop_tone and play_file to eliminate issues when using both in the same program.

To use in CircuitPython, simply include from adafruit_circuitplayground.express import cpx at the top of your file. The library is built into CircuitPython for Circuit Playground Express.

Read the docs for info on how to use it.

Reduce library size

04 Jun 22:06
862a379

Choose a tag to compare

Library size reduced by about 630 bytes when loaded into memory, about 12% smaller.

No functionality changes except that graceful error checking for CircuitPython versions before 2.2.0 has been removed. These versions will still fail, but less elegantly.

Thanks @kattni for testing and review!

3.0 compatibility updates!

25 May 01:15
d0022de

Choose a tag to compare

Updates to start_tone and play_file to allow them to work with the changes to audioio made for 3.0. Backwards compatibility maintained for 2.x.

To use in CircuitPython, simply include from adafruit_circuitplayground.express import cpx at the top of your file. The library is built into CircuitPython for Circuit Playground Express.

Read the docs for info on how to use it.

Update documentation

03 May 20:27
a669915

Choose a tag to compare

Merge pull request #30 from sommersoft/new_docs

Improve Ref Docs

Improved reference documentation.

24 Feb 21:55
55e0be4

Choose a tag to compare

Thanks to @sommersoft for the great work!

Added an examples folder and several example .py files.

23 Jan 23:11
4df91b8

Choose a tag to compare

Added the following files: acceleration.py, pixels.py, shake.py, tapdetect.py, tapdetectsimple.py, tone.py, and touched.py in the examples folder

Now with single and double tap options!

30 Dec 03:27
9679cd8

Choose a tag to compare

Tap detection is now configurable using cpx.detect_taps to determine whether to look for single or double-taps.

Improved documentation with examples for using detect_taps and tapped.

Designed to work with CircuitPython 2.2 or newer (currently available as 2.2rc1). This library will work with older versions of CircuitPython, although some functionality will not be available.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle or the zip from here that matches the version of CircuitPython you are using.

Read the docs for info and examples.

Small fix

17 Dec 06:33
b255c2c

Choose a tag to compare

Small fix to make Express init on 2.1.0 when set_tap isn't available. Thanks to smolz on the forum for the report.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle or the zip from here that matches the version of CircuitPython you are using.

Read the docs for info and examples.

Now with double_tap!

15 Dec 20:54

Choose a tag to compare

Added double-tap capability with double_tap. It requires CircuitPython 2.2.0 (currently available as 2.2.l0rc1) or newer.

Thanks to @tannewt for helping!

To use in CircuitPython, simply install the Adafruit CircuitPython bundle or the zip from here that matches the version of CircuitPython you are using.

Read the docs for info and examples.