adafruit / Adafruit_CircuitPython_DotStar

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

Expose individual brightness modification in stock dotstar library #19

Closed mcscope closed 6 years ago

mcscope commented 6 years ago

So we can't use the per-pixel brightness byte in stock DotStar, because the API should match NeoPixels and NeoPixels don't have per-pixel brightness values.

This is a new class, Advanced Dotstar, that uses these features. You only need to import it if you want it's features, so hopefully it saves our users some ram hit.

Turns out we can't easily bundle multiple files in one of these modules, so I've integrated my functionality into the main DotStar class.

Fufills issue: https://github.com/adafruit/Adafruit_CircuitPython_DotStar/issues/16

mcscope commented 6 years ago

@tannewt Please review!