fix pigpiod spelling

and fix overall package levels dev to match email node
This commit is contained in:
Dave Conway-Jones 2017-04-15 12:15:54 +01:00
parent 85498279b4
commit 63a873f1f1
No known key found for this signature in database
GPG Key ID: 81B04231572A9A2D
3 changed files with 5 additions and 9 deletions

View File

@ -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.payload` - *number* - the level of the pin (0 or 1)
- `msg.topic` - *string* - pi/{the pin number} - `msg.topic` - *string* - pi/{the pin number}
##### Details
You may also enable the input pullup resistor ↑ or the pulldown resistor ↓. You may also enable the input pullup resistor ↑ or the pulldown resistor ↓.
### Output node ### Output node
Can be used in Digital, PWM or Servo modes. Can be used in Digital, PWM or Servo modes.
###### Input ##### Input
- `msg.payload` - *number | string* - `msg.payload` - *number | string*
- Digital - 0, 1 - set pin low or high - Digital - 0, 1 - set pin low or high
- PWM - 0 to 100 - level from 0 to 100% - PWM - 0 to 100 - level from 0 to 100%
- Servo - 0 to 100, 50 is centred. - Servo - 0 to 100, 50 is centred.
*Hint*: The `range` node can be used to scale inputs to the correct range. *Hint*: The `range` node can be used to scale inputs to the correct values.
##### Details
Digital mode expects a `msg.payload` with either a 0 or 1 (or true or false), 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. and will set the selected physical pin high or low depending on the value passed in.

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-node-pi-gpiod", "name": "node-red-node-pi-gpiod",
"version": "0.0.1", "version": "0.0.2",
"description": "A node-red node for PiGPIOd", "description": "A node-red node for PiGPIOd",
"dependencies" : { "dependencies" : {
"js-pigpio": "^1.0.0" "js-pigpio": "^1.0.0"

View File

@ -31,9 +31,9 @@
"when": "^3.7.8", "when": "^3.7.8",
"exif": "^0.6.0", "exif": "^0.6.0",
"ngeohash": "^0.6.0", "ngeohash": "^0.6.0",
"nodemailer": "^4.0.1", "nodemailer": "^1.11.0",
"poplib": "^0.1.7", "poplib": "^0.1.7",
"mailparser": "^2.0.3", "mailparser": "^0.6.1",
"imap": "^0.8.19", "imap": "^0.8.19",
"msgpack-js": "^0.3.0" "msgpack-js": "^0.3.0"
} }