mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
update gpio readme files
This commit is contained in:
parent
822064ee0d
commit
f32f578c09
@ -7,7 +7,9 @@ It also include a simple node that detect mouse buttons and also keyboard clicks
|
||||
picks up mouse keys direct from the keyboard so should work even when the app does not have
|
||||
focus, but YMMV.
|
||||
|
||||
If you need servo control then look at the node-red-node-pi-gpiod node as this is a lot more accurate timing wise, and more suitable for driving servos
|
||||
If you need servo control then look at the
|
||||
<a href="https://flows.nodered.org/node/node-red-node-pi-gpiod">node-red-node-pi-gpiod</a> node
|
||||
as this is a lot more accurate timing wise, and more suitable for driving servos
|
||||
|
||||
## Install
|
||||
|
||||
@ -16,7 +18,7 @@ command in your Node-RED user directory - typically `~/.node-red`
|
||||
|
||||
npm i node-red-node-pi-gpio
|
||||
|
||||
The python library may also work with other distros on on Pi (like Ubuntu on Pi) - you will need to install the PIGPIO package and run the following commands in order to gain full access to the GPIO pins as this ability is not part of the default distro.
|
||||
The python library may also work with other distros running on a Pi (like Ubuntu or Debian) - you will need to install the PIGPIO package and run the following commands in order to gain full access to the GPIO pins as this ability is not part of the default distro. This is NOT necessary on Raspbian.
|
||||
|
||||
sudo apt-get install python-pip python-dev
|
||||
sudo pip install RPi.GPIO
|
||||
|
@ -2,9 +2,11 @@ node-red-node-pi-gpiod
|
||||
======================
|
||||
|
||||
An alternative pair of <a href="http://nodered.org" target="_new">Node-RED</a> nodes to interact with Pi GPIO using
|
||||
the <a href="http://abyz.co.uk/rpi/pigpio/pigpiod.html" target="_new">PiGPIOd</a> daemon that is now part of Raspbian.
|
||||
the <a href="http://abyz.me.uk/rpi/pigpio/pigpiod.html" target="_new">PiGPIOd</a> daemon that is now part of Raspbian.
|
||||
|
||||
The advantage is that it also talk to GPIO on a Pi that is remote as long as it is running the daemon, and also sharing pins works more cleanly as contention is handled by the multiple connections.
|
||||
The advantage is that it also talk to GPIO on a Pi that is remote as long as it is running the daemon, and also sharing pins works more cleanly as contention is handled by the multiple connections. This is also a
|
||||
good way to access GPIO when running Docker on a Pi as you can use the network connection to link out of
|
||||
the container to the PiGPIO daemon running on the host.
|
||||
|
||||
The disadvantage is that you must setup and run the PiGPIO daemon first.
|
||||
|
||||
@ -19,7 +21,7 @@ PiGPIOd must be running on the pi. The easiest way to ensure this is to add the
|
||||
/usr/bin/pigpiod -l
|
||||
/usr/bin/pigpiod -n 192.168.1.10
|
||||
|
||||
See the <a href="http://abyz.co.uk/rpi/pigpio/pigpiod.html" target="new">instructions</a> for more details.
|
||||
See the <a href="http://abyz.me.uk/rpi/pigpio/pigpiod.html" target="new">instructions</a> for more details.
|
||||
|
||||
## Install
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user