Updated Configuration Procedure for New Devices (markdown)

blakadder 2019-11-08 10:45:48 +01:00
parent 748e44cdf1
commit 697f8feceb
1 changed files with 2 additions and 1 deletions

@ -10,7 +10,8 @@ If your device is similar to the existing built-in module (e.g., a particular MC
- If you are unable to control some of the relays or LEDs on the device, they may be attached to the "dedicated" GPIO. Assign those GPIO to an unused `Relay<x>` and repeat step _1a_. - If you are unable to control some of the relays or LEDs on the device, they may be attached to the "dedicated" GPIO. Assign those GPIO to an unused `Relay<x>` and repeat step _1a_.
_b._ Once you have found which GPIO control which relays and LEDs, set these "active" GPIO to associate them with the corresponding `Relay<x>`, `LED<x>`, or `LEDLink`. Proper operation may dictate the use regular or inverted (i.e., `Relay<x>i`/`LED<x>i`/`LEDLinki`) settings. _b._ Once you have found which GPIOs control which relay and LED, set these "active" GPIO to associate them with the corresponding `Relay<x>`, `LED<x>`, or `LEDLink` (Some may require the use of inverted (i.e., `Relay<x>i`/`LED<x>i`/`LEDLinki`) component).
**Make sure you have all relays assigned in order**, starting from 1 (`Relay1`, then `Relay2` and so on (you can mix regular and inverted ones))!
2. Now, assign every remaining GPIO (excluding, once again, remaining "dedicated" like Tx/Rx & GPIO0/GPIO2, etc.) to successive `Switch<x>` components. 2. Now, assign every remaining GPIO (excluding, once again, remaining "dedicated" like Tx/Rx & GPIO0/GPIO2, etc.) to successive `Switch<x>` components.