Arb.get_active

You're seeing just the function get_active, go back to Arb module for more information.

Specs

get_active(Keyword.t()) :: {:ok, [relay_id()]} | {:error, term()}

Returns the ids of active relays.

Options

  • :port - The USB port to be used. Only necessary if multiple relay boards are connected.

Examples

iex> Arb.get_active()
{:ok, [1, 3, 6]}