diff --git a/hardware/pigpiod/README.md b/hardware/pigpiod/README.md index 0c669bf7..d6bdadeb 100644 --- a/hardware/pigpiod/README.md +++ b/hardware/pigpiod/README.md @@ -40,24 +40,20 @@ Generates a `msg.payload` with either a 0 or 1 depending on the state of the inp - `msg.payload` - *number* - the level of the pin (0 or 1) - `msg.topic` - *string* - pi/{the pin number} -##### Details - You may also enable the input pullup resistor ↑ or the pulldown resistor ↓. ### Output node Can be used in Digital, PWM or Servo modes. -###### Input +##### Input - `msg.payload` - *number | string* - Digital - 0, 1 - set pin low or high - PWM - 0 to 100 - level from 0 to 100% - Servo - 0 to 100, 50 is centred. -*Hint*: The `range` node can be used to scale inputs to the correct range. - -##### Details +*Hint*: The `range` node can be used to scale inputs to the correct values. Digital mode expects a `msg.payload` with either a 0 or 1 (or true or false), and will set the selected physical pin high or low depending on the value passed in. diff --git a/hardware/pigpiod/package.json b/hardware/pigpiod/package.json index 3297c775..e19556b3 100644 --- a/hardware/pigpiod/package.json +++ b/hardware/pigpiod/package.json @@ -1,6 +1,6 @@ { "name": "node-red-node-pi-gpiod", - "version": "0.0.1", + "version": "0.0.2", "description": "A node-red node for PiGPIOd", "dependencies" : { "js-pigpio": "^1.0.0" diff --git a/package.json b/package.json index 78e94d8a..86002f5c 100644 --- a/package.json +++ b/package.json @@ -31,9 +31,9 @@ "when": "^3.7.8", "exif": "^0.6.0", "ngeohash": "^0.6.0", - "nodemailer": "^4.0.1", + "nodemailer": "^1.11.0", "poplib": "^0.1.7", - "mailparser": "^2.0.3", + "mailparser": "^0.6.1", "imap": "^0.8.19", "msgpack-js": "^0.3.0" }