jgarff/rpi_ws281x — pull request #14 by TwP (2014-12-19 18:33:35+00:00)
Title: Add brightness control

The arduino library for neo pixels is quite nice in that it has a brightness control. This is a simple scaling that is applied to each pixel to control the overall luminosity of the pixel. This is an implementation of brightness for the raspberry pi library.

The leds array for the channel is unaffected by these changes. The brightness scaling is applied to each led as the colors are rendered to the PWM channel.