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!