From 0cdaee309af311a632002a7a0de493a1a8c48570 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 21 Oct 2015 22:59:43 +0200 Subject: [PATCH] Add variable descriptions --- source/components/switch.rpi_gpio.markdown | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/components/switch.rpi_gpio.markdown b/source/components/switch.rpi_gpio.markdown index f7dea1d6272..905f4f6eb1d 100644 --- a/source/components/switch.rpi_gpio.markdown +++ b/source/components/switch.rpi_gpio.markdown @@ -21,8 +21,15 @@ switch: ports: 11: Fan Office 12: Light Desk + invert_logic: false ``` +Configuration variables: + +- **ports** array (*Required*): Array of used ports. + - **port: name** (*Required*): Your username for the Edimax switch. +- **invert_logic (*Optional*): If true, inverts the output logic to ACTIVE LOW. Default is false (ACTIVE HIGH) + For more details about the GPIO layout, visit the Wikipedia [article](https://en.wikipedia.org/wiki/Raspberry_Pi#GPIO_connector) about the Raspberry Pi.