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.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.

View File

@ -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"

View File

@ -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"
}