Mcp3008.Device (MCP3008 ADC Library v0.1.0)

Link to this section Summary

Link to this section Functions

Link to this function

read_channel(channel, spi, port)

Specs

read_channel(
  pos_integer() | {pos_integer(), pos_integer()},
  reference(),
  reference()
) :: {:ok, pos_integer() | {:error, atom()}}