Releases: adafruit/Adafruit_CircuitPython_CircuitPlayground
Reduce library size
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!
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
Merge pull request #30 from sommersoft/new_docs Improve Ref Docs
Improved reference documentation.
Thanks to @sommersoft for the great work!
Added an examples folder and several example .py files.
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!
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
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!
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.
Touch threshold
Added the ability to change touch threshold for projects where the pads or attached items are too sensitive.
Thanks to @tannewt and @dhalbert for their help!
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.
Shake. Shake. Shake!
@kattni added shake detection support with shake()
. It requires CircuitPython 2.2.0 (which will be released soon) or newer.
The library will also prefer loading frozen versions of its dependencies to save memory.
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.