Update configuration samples (#1156)
This commit is contained in:
parent
73f2e229b0
commit
e799a68149
2 changed files with 13 additions and 13 deletions
|
@ -10,6 +10,7 @@ footer: true
|
|||
logo: arduino.png
|
||||
ha_category: DIY
|
||||
ha_release: pre 0.7
|
||||
ha_iot_class: "Local Polling"
|
||||
---
|
||||
|
||||
|
||||
|
@ -24,21 +25,20 @@ switch:
|
|||
pins:
|
||||
11:
|
||||
name: Fan Office
|
||||
type: digital
|
||||
12:
|
||||
name: Light Desk
|
||||
type: digital
|
||||
default: on
|
||||
initial: true
|
||||
negate: true
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **pins** (*Required*): Array of pins to use. The number corresponds with the pin numbering schema of your board.
|
||||
- **name**: Name that will be used in the frontend for the pin.
|
||||
- **type**: The type of the pin. At the moment only 'digital' is supported.
|
||||
- **default**: The initial value for this port.
|
||||
- **negate**: If this pin should be inverted.
|
||||
- **pins** array (*Required*): List of pins to use.
|
||||
- **[number]** (*Required*): The pin number that corresponds with the pin numbering schema of your board.
|
||||
- **name** (*Required*): Name that will be used in the frontend for the pin.
|
||||
- **initial** (*Optional*): The initial value for this port. Defaults to `False` .
|
||||
- **negate** (*Optional*): If this pin should be inverted. Defaults to `False`.
|
||||
|
||||
The digital pins are numbered from 0 to 13. The available pins are 2 till 13. For testing purposes you can use pin 13 because with that pin you can control the internal LED.
|
||||
The digital pins are numbered from 0 to 13 on a Arduino UNO. The available pins are 2 till 13. For testing purposes you can use pin 13 because with that pin you can control the internal LED.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue