1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/hardware/LEDborg
2015-01-30 08:43:55 +00:00
..
78-ledborg.html Update LEDborg node to use RPi.GPIO 2015-01-30 08:43:55 +00:00
78-ledborg.js Update LEDborg node to use RPi.GPIO 2015-01-30 08:43:55 +00:00
LICENSE Add npms for various hardware nodes, Blink1, DigiRGB, LEDBorg, PiFace 2014-07-08 22:57:42 +01:00
nrgpio Update LEDborg node to use RPi.GPIO 2015-01-30 08:43:55 +00:00
nrgpio.py Update LEDborg node to use RPi.GPIO 2015-01-30 08:43:55 +00:00
package.json Update LEDborg node to use RPi.GPIO 2015-01-30 08:43:55 +00:00
README.md Add npms for various hardware nodes, Blink1, DigiRGB, LEDBorg, PiFace 2014-07-08 22:57:42 +01:00

node-red-node-ledborg

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

Install

Run the following command in the root directory of your Node-RED install

npm install 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