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.