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

@@ -9,8 +9,7 @@ to read range from an SRF05 Ultrasonic range sensor.
Install
-------
Run the following command in the root 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-pisrf
@@ -19,12 +18,12 @@ Usage
Raspberry Pi input from an SRF04 or SRF05 ultrasonic range finder.
The configuartion requires two GPIO pin numbers, the trigger pin and the echo pin.
The configuration requires two GPIO pin numbers, the trigger pin and the echo pin.
These can be any spare valid Pi GPIO pins. e.g.
7,11
Outputs a <b>msg.payload</b> with a number representing the range in cm.
Outputs a `msg.payload` with a number representing the range in cm.
Produces one measure every 0.5s - but only if the distance is different from the previous reading.

View File

@@ -1,6 +1,6 @@
{
"name" : "node-red-node-pisrf",
"version" : "0.0.1",
"version" : "0.0.2",
"description" : "A Node-RED node for a Raspberry Pi to use a SRF04 or SRF05 range finder",
"dependencies" : {
},

View File

@@ -30,7 +30,7 @@
<script type="text/x-red" data-help-name="rpi-srf">
<p>Raspberry Pi input from an SRF04 or SRF05 ultrasonic range finder.</p>
<p>Outputs a <b>msg.payload</b> with a number representing the range in cm.</p>
<p>Outputs a <code>msg.payload</code> with a number representing the range in cm.</p>
<p>Produces one measure every 0.5s - but only if the distance is different from the previous reading.</p>
<p><b>Note:</b> we are using the actual physical pin numbers on connector P1 as they are easier to locate.</p>
</script>