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:
@@ -105,7 +105,7 @@
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name" placeholder="Name">
|
||||
</div>
|
||||
<div class="form-tips" id="node-buzz-tip">Buzzer expects <b>msg.payload</b> to be a number in Hz.</div>
|
||||
<div class="form-tips" id="node-buzz-tip">Buzzer expects <code>msg.payload</code> to be a number in Hz.</div>
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="rpi-pibrella out">
|
||||
|
@@ -5,7 +5,7 @@ A <a href="http://nodered.org" target="_new">Node-RED</a> node to control a <a h
|
||||
Install
|
||||
-------
|
||||
|
||||
Run the following command in the root directory of your Node-RED install
|
||||
Run the following command in your Node-RED user directory - typically `~/.node-red`
|
||||
|
||||
npm install node-red-node-pibrella
|
||||
|
||||
@@ -22,16 +22,16 @@ Usage
|
||||
|
||||
A pair of input and output Node-RED nodes for the Raspberry Pi Pibrella from Pimoroni.
|
||||
|
||||
###Output
|
||||
### Output
|
||||
|
||||
The output node will set the selected output high (on) or low (off) depending on the value passed in. Expects a <b>msg.payload</b> with either a 0 or 1 (or true or false).
|
||||
The output node will set the selected output high (on) or low (off) depending on the value passed in. Expects a `msg.payload` with either a 0 or 1 (or true or false).
|
||||
|
||||
You may also select PWM mode to dim the on board LEDs if you wish. Expects a value from 0 to 100.
|
||||
|
||||
The Buzzer expects a number representing the frequency in Hz. 0 is off and 1 is a tone - so you can use 0/1 type inputs as well.
|
||||
|
||||
###Input
|
||||
### Input
|
||||
|
||||
The input node generates a <b>msg.payload</b> with either a 0 or 1 depending on the state of the input pin.
|
||||
The input node generates a `msg.payload` with either a 0 or 1 depending on the state of the input pin.
|
||||
|
||||
The <b>msg.topic</b> is set to <i>pibrella/{the pin id}</i> - which will be A, B, C, D or R.
|
||||
The `msg.topic` is set to <i>pibrella/{the pin id}</i> - which will be A, B, C, D or R.
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-pibrella",
|
||||
"version" : "0.0.10",
|
||||
"version" : "0.0.11",
|
||||
"description" : "A Node-RED node to read from and write to a Pibrella Raspberry Pi add-on board",
|
||||
"dependencies" : {
|
||||
},
|
||||
|
Reference in New Issue
Block a user