From c1d835c1cadef6c89c7ca4e2e098ed6ac6adb486 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Thu, 15 Feb 2018 14:43:29 +0000 Subject: [PATCH] Tidy up gpiod node tips --- hardware/pigpiod/locales/en-US/pi-gpiod.json | 8 ++++---- hardware/pigpiod/package.json | 2 +- hardware/pigpiod/pi-gpiod.html | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/hardware/pigpiod/locales/en-US/pi-gpiod.json b/hardware/pigpiod/locales/en-US/pi-gpiod.json index 69199beb..5eaa33e6 100644 --- a/hardware/pigpiod/locales/en-US/pi-gpiod.json +++ b/hardware/pigpiod/locales/en-US/pi-gpiod.json @@ -30,10 +30,10 @@ "pinname": "Pin", "tip": { "pin": "Pins in Use: ", - "in": "Tip: Only Digital Input is supported - input must be 0 or 1.", - "dig": "Tip: For digital output - input must be 0 or 1.", - "pwm": "Tip: For PWM output - input must be between 0 to 100.", - "ser": "Tip: For Servo output - input must be between 0 to 100. 50 is centre.
Min must be 500uS or more, Max must be 2500uS or less." + "in": "Only Digital Input is supported - input must be 0 or 1.", + "dig": "Digital output - input must be 0 or 1.", + "pwm": "PWM output - input must be between 0 to 100.", + "ser": "Servo output - input must be between 0 to 100. 50 is centre.
Min must be 500uS or more, Max must be 2500uS or less." }, "types": { "digout": "digital output", diff --git a/hardware/pigpiod/package.json b/hardware/pigpiod/package.json index e54c5e4d..8ea76b8b 100644 --- a/hardware/pigpiod/package.json +++ b/hardware/pigpiod/package.json @@ -1,6 +1,6 @@ { "name": "node-red-node-pi-gpiod", - "version": "0.0.8", + "version": "0.0.9", "description": "A node-red node for PiGPIOd", "dependencies" : { "js-pigpio": "*" diff --git a/hardware/pigpiod/pi-gpiod.html b/hardware/pigpiod/pi-gpiod.html index 82998623..d83641b2 100644 --- a/hardware/pigpiod/pi-gpiod.html +++ b/hardware/pigpiod/pi-gpiod.html @@ -163,9 +163,9 @@ +
Pins marked in blue are dual use. Make sure they are not enabled for their other use before using as GPIO.
-
@@ -408,11 +408,11 @@ -
Pins marked in blue are dual use. Make sure they are not enabled for - their other use before using as GPIO.
+
Pins marked in blue are dual use. Make sure they are not enabled for + their other use before using as GPIO.
@@ -485,7 +485,7 @@ $("#pwm-tip").show(); $("#ser-tip").hide(); } - if ($("#node-input-out").val() === "ser") { + else if ($("#node-input-out").val() === "ser") { $('#node-set-tick').hide(); $('#node-set-state').hide(); $('#node-set-minimax').show();