adafruit / Adafruit_CircuitPython_DotStar

Dotstarrin' away in CircuitPython land
MIT License
46 stars 38 forks source link

Fix brightness for single pixels. Fix __getitem__ for slices. #4

Closed dhalbert closed 6 years ago

dhalbert commented 6 years ago

getitem was referring to .bpp, which didn't exist. Not sure what was wrong with brightness, but I cleaned up the code a bit. Tested on a Gemma and on a DotStar strip.