1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
This commit is contained in:
Dave Conway-Jones 2021-01-12 10:14:08 +00:00
commit c0c6d75535
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF
2 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-node-pi-gpiod", "name": "node-red-node-pi-gpiod",
"version": "0.1.0", "version": "0.1.1",
"description": "A node-red node for PiGPIOd", "description": "A node-red node for PiGPIOd",
"dependencies" : { "dependencies" : {
"js-pigpio": "*" "js-pigpio": "*"

View File

@ -1,5 +1,5 @@
<script type="text/x-red" data-template-name="pi-gpiod in"> <script type="text/html" data-template-name="pi-gpiod in">
<style> <style>
.pinTable { .pinTable {
width: 300px; width: 300px;
@ -168,10 +168,10 @@
their other use before using as GPIO.</div> their other use before using as GPIO.</div>
</script> </script>
<script type="text/x-red" data-help-name="pi-gpiod in"> <script type="text/html" data-help-name="pi-gpiod in">
<p>Raspberry Pi input node. Generates a <code>msg.payload</code> with either a <p>Raspberry Pi input node. Generates a <code>msg.payload</code> with either a
0 or 1 depending on the state of the input pin. 0 or 1 depending on the state of the input pin.
Requires the <a href="http://abyz.co.uk/rpi/pigpio/pigpiod.html" target="_new">pi-gpiod</a> Requires the <a href="http://abyz.me.uk/rpi/pigpio/index.html" target="_new">pi-gpiod</a>
daemon to be running on the host computer in order to work.</p> daemon to be running on the host computer in order to work.</p>
<p><b>Outputs</b> <p><b>Outputs</b>
<ul> <ul>
@ -233,7 +233,7 @@
}); });
</script> </script>
<script type="text/x-red" data-template-name="pi-gpiod out"> <script type="text/html" data-template-name="pi-gpiod out">
<style> <style>
.pinTable { .pinTable {
width: 300px; width: 300px;
@ -415,9 +415,9 @@
their other use before using as GPIO.</div> their other use before using as GPIO.</div>
</script> </script>
<script type="text/x-red" data-help-name="pi-gpiod out"> <script type="text/html" data-help-name="pi-gpiod out">
<p>Raspberry Pi output node. Can be used in Digital, PWM or Servo modes. Requires the <p>Raspberry Pi output node. Can be used in Digital, PWM or Servo modes. Requires the
<a href="http://abyz.co.uk/rpi/pigpio/pigpiod.html" target="_new">pi-gpiod</a> daemon to be running in order to work.</p> <a href="http://abyz.me.uk/rpi/pigpio/index.html" target="_new">pi-gpiod</a> daemon to be running in order to work.</p>
<p><b>Inputs</b> <p><b>Inputs</b>
<ul> <ul>
<li><code>msg.payload</code> - <i>number | string</i> - 0,1 (Digital), 0-100 (PWM, Servo)</li> <li><code>msg.payload</code> - <i>number | string</i> - 0,1 (Digital), 0-100 (PWM, Servo)</li>