SHT4X (sht4x v0.1.1) View Source
Use Sensirion SHT4X humidity and temperature sensors in Elixir
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Link to this section Types
Specs
bus_name() :: binary()
Which I2C bus to use (defaults to "i2c-1"
)
Specs
options() :: [GenServer.option() | {:bus_name, bus_name()}]
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
measure(GenServer.server(), Keyword.t()) :: {:ok, SHT4X.Measurement.t()} | {:error, any()}
Specs
start_link(options()) :: GenServer.on_start()