View Source BH1750.Config (bh1750 v0.2.0)
The configuration settings for the BH1750 sensor.
Link to this section Summary
Link to this section Types
Specs
mode() :: :continuous | :one_time
Specs
resolution() :: :high | :high2 | :low
Specs
t() :: %BH1750.Config{ measurement_time_ms: non_neg_integer(), mode: mode(), opcode: byte(), resolution: resolution() }
Link to this section Functions
Specs
new(mode(), resolution()) :: t()