mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
update hardware nodes info style
This commit is contained in:
@@ -19,12 +19,12 @@
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name" placeholder="DigiSpark">
|
||||
</div>
|
||||
<div class="form-tips">Expects a msg.payload with three part csv string of r,g,b.</div>
|
||||
<div class="form-tips">Expects a <code>msg.payload</code> with three part csv string of r,g,b.</div>
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="digiRGB">
|
||||
<p>Simple output node to drive digispark RGB</p>
|
||||
<p>Requires <b>msg.payload</b> to be of the form 'r,g,b' decimals 0-255, or a hex string "#rrggbb". For example:</p>
|
||||
<p>Requires <code>msg.payload</code> to be of the form 'r,g,b' decimals 0-255, or a hex string "#rrggbb". For example:</p>
|
||||
<ul><li>Red : "255,0,0"</li><li>Green : "#00FF00"</li></ul>
|
||||
</script>
|
||||
|
||||
|
@@ -6,10 +6,9 @@ A <a href="http://nodered.org" target="_new">Node-RED</a> node to control a <a h
|
||||
Install
|
||||
-------
|
||||
|
||||
Run the following command in the home directory of your Node-RED install.
|
||||
This is usually `~/.node-red`
|
||||
Run the following command in your Node-RED user directory - typically `~/.node-red`
|
||||
|
||||
npm install node-red-node-digirgb
|
||||
npm i node-red-node-digirgb
|
||||
|
||||
|
||||
Usage
|
||||
@@ -17,4 +16,4 @@ Usage
|
||||
|
||||
Simple output node to drive a Digispark RGB LED.
|
||||
|
||||
Requires a <b>msg.payload</b> to be of the form 'r,g,b' - for example 255,0,0 for red.
|
||||
Requires a `msg.payload` to be of the form 'r,g,b' - for example 255,0,0 for red.
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-digirgb",
|
||||
"version" : "0.0.4",
|
||||
"version" : "0.0.5",
|
||||
"description" : "A Node-RED node to control a Digispark RGB LED",
|
||||
"dependencies" : {
|
||||
"node-hid" : "0.4.*"
|
||||
|
Reference in New Issue
Block a user