Class: Denko::Sensor::AHT3X

Inherits:
AHT2X show all
Defined in:
lib/denko/sensor/aht.rb

Overview

AHT3X and AHT2X have different specs, but work the same.

Constant Summary

Constants inherited from AHT2X

Denko::Sensor::AHT2X::CRC_INITIAL_VALUE, Denko::Sensor::AHT2X::CRC_POLYNOMIAL, Denko::Sensor::AHT2X::DATA_LENGTH, Denko::Sensor::AHT2X::INIT_AND_CALIBRATE, Denko::Sensor::AHT2X::MSBIT_MASK, Denko::Sensor::AHT2X::POWER_ON_DELAY

Constants inherited from AHT1X

Denko::Sensor::AHT1X::BUSY, Denko::Sensor::AHT1X::CALIBRATED, Denko::Sensor::AHT1X::COMMAND_DELAY, Denko::Sensor::AHT1X::CRC_INITIAL_VALUE, Denko::Sensor::AHT1X::CRC_POLYNOMIAL, Denko::Sensor::AHT1X::DATA_LENGTH, Denko::Sensor::AHT1X::I2C_ADDRESS, Denko::Sensor::AHT1X::INIT_AND_CALIBRATE, Denko::Sensor::AHT1X::MEASURE_DELAY, Denko::Sensor::AHT1X::MSBIT_MASK, Denko::Sensor::AHT1X::POWER_ON_DELAY, Denko::Sensor::AHT1X::READ_STATUS_REGISTER, Denko::Sensor::AHT1X::RESET_DELAY, Denko::Sensor::AHT1X::SOFT_RESET, Denko::Sensor::AHT1X::START_MEASUREMENT

Constants included from Behaviors::Lifecycle

Behaviors::Lifecycle::CALLBACK_METHODS

Constants included from Behaviors::Reader

Behaviors::Reader::READ_WAIT_TIME

Constants included from I2C::Peripheral

I2C::Peripheral::I2C_ADDRESS, I2C::Peripheral::I2C_FREQUENCY, I2C::Peripheral::I2C_REPEATED_START

Instance Attribute Summary

Attributes included from Behaviors::Threaded

#interrupts_enabled, #thread

Attributes included from Behaviors::State

#state

Attributes included from I2C::Peripheral

#i2c_frequency, #i2c_repeated_start

Attributes included from Behaviors::Component

#board, #params

Method Summary

Methods inherited from AHT2X

#calculate_crc, #pre_callback_filter

Methods inherited from AHT1X

#_read, #busy?, #calibrate, #calibrated?, #pre_callback_filter, #read_status_register, #reading, #reset, #state, #update_state

Methods included from TemperatureHelper

#temperature, #temperature_f, #temperature_k

Methods included from Behaviors::Lifecycle

included

Methods included from Behaviors::Poller

#poll, #poll_using, #stop

Methods included from Behaviors::Threaded

#enable_interrupts, included, #mruby_thread_check, #stop, #stop_thread, #threaded, #threaded_loop

Methods included from Behaviors::Reader

#_read, #read, #read_busy?, #read_nb, #read_raw, #read_using, #update

Methods included from Behaviors::Callbacks

#add_callback, #callbacks, #pre_callback_filter, #remove_callback, #update

Methods included from Behaviors::State

#update_state

Methods included from I2C::Peripheral

#address, #i2c_default, #i2c_read, #i2c_read_raw, #i2c_write

Methods included from Behaviors::BusPeripheralAddressed

#address

Methods included from Behaviors::BusPeripheral

#atomically

Methods included from Behaviors::Component

#initialize, #micro_delay