Releases: adafruit/Adafruit_CircuitPython_DotStar
Now on PyPi!
- Added
setup.py
- Added PyPI release info to
.travis.yml
- Updated
requirements.txt
- Added a more comprehensive
.gitignore
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-dotstar
.
Read the docs for info on how to use it.
Remove dependency on math; speed up fill()
- The
math
library may not always be available, so uses ofmath.ceil()
were replaced with equivalent calculations. fill()
was sped up by about 25% by usingrange()
instead ofenumerate()
.
Added individual brightness control!
Thanks to @mcscope for the great work!
Improved reference documentation.
Thanks to @sommersoft for the great work!
Small improvements
Thanks to @kattni for fixing a rogue neopixel reference and a missing import.
The files in each release are compiled for all recent major versions of CircuitPython. Please download the one that matches your version of CircuitPython. For example, download the bundle with 2.x
in the filename for CircuitPython versions 2.0.0 and 2.1.0.
To install, simply download the matching zip file, unzip it, and copy the lib folder onto your CIRCUITPY drive. If lib
already exists, make sure to merge into the directory instead of replacing the whole thing.
brightness and _getitem__() fixes
- The brightness setting did not work properly in some cases.
- Using
__getitem__()
with slices (e.g.,values = dotstars[5:30]
) had an error.
To use in CircuitPython, download the adafruit_dotstar.py
file and copy it to the lib
folder on the CIRCUITPY
drive. Or, simply install the Adafruit CircuitPython library bundle when it's updated to include this release.
Read the docs for info on how to use it.
Thanks to bodger in the Adafruit forums for finding problems and testing the fixed version!
Fixed brightness
- Fix brightness
To use in CircuitPython, download the .mpy file and copy it to the lib
folder on the CIRCUITPY
drive. Or, simply install the Adafruit CircuitPython library bundle.
Read the docs for info on how to use it.
Better!
- Rename the module to
adafruit_dotstar
to match other Adafruit libraries. - Make the API identical to NeoPixel.
- Use hardware SPI when available on the given pins.
To use in CircuitPython, download the .mpy file and copy it to the lib
folder on the CIRCUITPY
drive. Or, simply install the Adafruit CircuitPython library bundle.
Read the docs for info on how to use it.