AHT10 Sensor
#
Trait implementationnew
for AHT10
#
Impl Returns pointer to the struct .
initialise
for AHT10
#
Impl Initiates the transmission by self initiating the sensor.
Returns true if done otherwise false.
soft_reset
for AHT10
#
Impl Restart sensor, without power off.
read_to_buffer
for AHT10
#
Impl Reads data from slave.
trigger_slave
for AHT10
#
Impl Triggers the AHT10 to read temperature/humidity.
wait_for_idle
for AHT10
#
Impl Causes delay of 5ms when status bit is 0 and sensor is busy.
perform_measurement
for AHT10
#
Impl Performs measurement .
status
for AHT10
#
Impl Reads status bit returned by the slave.
relative_humidity
for AHT10
#
Impl Reads 20 bit raw humidity data and returns relative humidity in percentage.
temperature
for AHT10
#
Impl Reads 20 bit raw temperature data and returns temperature in degree celsius .