CircuitsSim.Device.AHT20 (circuits_sim v0.1.2)
View SourceAHT20 temperature and humidity sensor
Typically found at 0x38 See the datasheet Many features aren't implemented.
Call set_humidity_rh/3
and set_temperature_c/3
to change the state of the sensor.
Summary
Types
Functions
@spec child_spec(keyword()) :: Supervisor.child_spec()
@spec set_humidity_rh(String.t(), Circuits.I2C.address(), number()) :: :ok
@spec set_temperature_c(String.t(), Circuits.I2C.address(), number()) :: :ok