Python Blinkstick package has been updated to 0.2.0.
https://pypi.python.org/pypi/BlinkStick/
This version has the following improvements:
- Allow setting of color via hex code or CSS color
- Added missing dependencies for examples
New features
set_color method now supports the following parameters
Set the color to the device as RGB
red: Red color intensity 0 is off, 255 is full red intensity green: Green color intensity 0 is off, 255 is full green intensity blue: Blue color intensity 0 is off, 255 is full blue intensity
Example: bs.set_color(12, 200, 30)
name: Use CSS colour name as defined here: http://www.w3.org/TR/css3-color/
Example: bs.set_color(name=”blue”)
hex: Specify color using hexadecimal color value e.g. '#FF3366'
Example: bs.set_color(hex=”#FF3366″)
Installation
[sudo] pip install blinkstick