ConnectivityLedStatus.OnboardLed behaviour (connectivity_led_status v0.1.2)
Behaviour for interacting with the Nerves.LED. Used as a testing seam.
Link to this section Summary
Callbacks
Sets the LED to flash rapidly (fast blink)
Two rapid flashes, then a pause etc...
Sets the LED to flash slowly (slow blink)
You'll never guess what this does.
Link to this section Callbacks
Link to this callback
flash_alarmingly()
@callback flash_alarmingly() :: :ok
Sets the LED to flash rapidly (fast blink)
Link to this callback
flash_heartbeat()
@callback flash_heartbeat() :: :ok
Two rapid flashes, then a pause etc...
Link to this callback
flash_languidly()
@callback flash_languidly() :: :ok
Sets the LED to flash slowly (slow blink)
Link to this callback
turn_off()
@callback turn_off() :: :ok
You'll never guess what this does.