Mcp3008.Server (MCP3008 ADC Library v0.1.0)
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Link to this section Types
Specs
t() :: pid()
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
read_channel_value(channel)
Specs
read_channel_value(pos_integer()) :: {:ok, pos_integer()} | {:error, atom()}
Link to this function
start_link(port)
Specs
start_link(pos_integer()) :: {:ok, t()} | GenServer.on_start()