AHT20.Transport behaviour (aht20 v0.3.1) View Source
The communication bus between the target board and the AHT20 sensor.
Link to this section Summary
Link to this section Types
Specs
bus_address() :: 0..127
Specs
bus_name() :: String.t()
Specs
register() :: non_neg_integer()
Specs
transport() :: pid()
Link to this section Callbacks
Specs
Specs
start_link(bus_name: bus_name(), bus_address: bus_address()) :: {:ok, transport()} | {:error, any()}