nerves_pack v0.1.0 NervesPack.WiFiWizardButton View Source
This GenServer starts the wizard if a button is depressed for long enough.
GPIO 26 is used for the button and the hold time is 5 seconds. These defaults can be configured in the config if desired:
config :nerves_pack,
wifi_wizard_button_pin: 17,
wifi_wizard_button_hold: 3_000
You can also disable using a button to start the WiFi wizard in the config as well:
config :nerves_pack, wifi_wizard_button: false
Link to this section Summary
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Start the button monitor