update hardware nodes info style

This commit is contained in:
Dave Conway-Jones
2016-03-02 13:25:52 +00:00
parent 88985f4fe7
commit 81c532fdce
42 changed files with 130 additions and 125 deletions

View File

@@ -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>

View File

@@ -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.

View File

@@ -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.*"