node-red-nodes/hardware/LEDborg
Dave Conway-Jones dd250a77bc core to Pi node-red-nodes info updates
to be more consistent style
2016-02-12 13:14:12 +00:00
..
78-ledborg.html core to Pi node-red-nodes info updates 2016-02-12 13:14:12 +00:00
78-ledborg.js Update LEDborg node to set status more correctly on error 2016-01-01 14:35:54 +00:00
LICENSE Add npms for various hardware nodes, Blink1, DigiRGB, LEDBorg, PiFace 2014-07-08 22:57:42 +01:00
README.md Make LEDborg use more clear, 2015-11-21 16:36:27 +00:00
nrgpio Update LEDborg - to match Pi node colours and update python 2015-11-16 23:12:35 +00:00
nrgpio.py Update LEDborg - to match Pi node colours and update python 2015-11-16 23:12:35 +00:00
package.json core to Pi node-red-nodes info updates 2016-02-12 13:14:12 +00:00

README.md

node-red-node-ledborg

A Node-RED node to control a PiBorg LedBorg board for a Raspberry Pi.

Install

Run the following command in the root directory of your Node-RED install, this is usually ~/.node-red

npm i node-red-node-ledborg

Usage

A PiBorg LedBorg LED output node that expects a msg.payload with a three digit rgb triple, from 000 to 222. I.E. there are only 27 possible colours.

See the PiBorg site for more information.

You can also now use a msg.payload in the standard hex format "#rrggbb". The clip levels are :

0x00 - 0x57 = off
0x58 - 0xA7 = 50%
0xA8 - 0xFF = fully on

You can also use the @cheerlight colour names - red, amber, green, blue, cyan, magenta, yellow, orange, pink, purple, white, warmwhite, black

Notes

This node can only be used once per flow... as it uses physical pins 11, 13 and 15 on the Pi. Using it more than once will cause weird flashing and unpredictable behaviour.

You can of course wire up multiple things in your flow to the same LEDborg node.