adafruit / Adafruit_DotStar_Pi

DotStar module for Python on Raspberry Pi
GNU General Public License v3.0
60 stars 30 forks source link

Improve brightness handling. #23

Closed thomasthiriez closed 5 years ago

thomasthiriez commented 6 years ago

The brightness parameter will now use the DotStar's built-in brightness adjustment in addition to scaling the color values. That will allow the brightness to be reduced without loosing color resolution. It also allows the leds be even dimmer than previously possible.

PaintYourDragon commented 5 years ago

Thank you for the pull request. We're deprecating this library in favor of CircuitPython, but as it's open source you're always welcome to continue using and adapting the code for your own needs. Otherwise, please check out the Adafruit CircuitPython DotStar library: https://github.com/adafruit/Adafruit_CircuitPython_DotStar