mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
26 lines
978 B
Markdown
26 lines
978 B
Markdown
|
node-red-node-ledborg
|
||
|
=====================
|
||
|
|
||
|
A <a href="http://nodered.org" target="_new">Node-RED</a> node to control a <a href="https://www.piborg.org/ledborg" target="_new">PiBorg LedBorg</a> 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 <b>msg.payload</b> with a three digit rgb triple, from <b>000</b> to <b>222</b>. I.E. there are only 27 possible colours.
|
||
|
|
||
|
See <i><a href="http://www.piborg.com/ledborg/install" target="_new">the PiBorg site</a></i> for more information.
|
||
|
|
||
|
You can also now use a <b>msg.payload</b> in the standard hex format "#rrggbb". The clip levels are :
|
||
|
|
||
|
><pre>0x00 - 0x57 = off<br/>0x58 - 0xA7 = 50%<br/>0xA8 - 0xFF = fully on</pre>
|
||
|
|
||
|
You can also use the @cheerlight colour names - red, amber, green, blue, cyan, magenta, yellow, orange, pink, purple, white, warmwhite, black
|