rwaldron/johnny-five — pull request #234 by achingbrain (2013-09-26 06:57:41+00:00)
Title: Adds support for digital leds in brightness method

I've got some RGB LEDs which are connected to digital out pins. Setting colours like "FF0000" and "00FF00" use the brightness method in led.js which currently baulks if the LED pin is not in PWM mode.

This pull request allows digital outputs to be used, however if the brightness value being written to a digital output is not 0 or 255 it will emit a warning in the log.