From 7408cf767419cbb082787a18b192a5cec29cc689 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Sun, 3 Jan 2016 12:25:08 +0000 Subject: [PATCH] Fix PiFace node initial state so it works... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (which it never did… oops! ) --- hardware/PiFace/37-rpi-piface.html | 2 ++ hardware/PiFace/37-rpi-piface.js | 5 +++-- hardware/PiFace/README.md | 4 ++++ hardware/PiFace/package.json | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/hardware/PiFace/37-rpi-piface.html b/hardware/PiFace/37-rpi-piface.html index bf16002a..f2b77a35 100644 --- a/hardware/PiFace/37-rpi-piface.html +++ b/hardware/PiFace/37-rpi-piface.html @@ -63,6 +63,8 @@

The msg.topic is set to piface/{the pin number}

Requires the WiringPi gpio command in order to work.

Note: This node currently polls the pin every 250mS. This is not ideal as it loads the cpu.

+

Note: Some versions of the PiFace relabelled the switch inputs to be 0 - 7 instead of 1 - 8. + We cannot automatically detect this so the user will have to apply some common sense.