95 __attribute__((always_inline))
108 __attribute__((always_inline))
159 } __attribute__((packed));
DHT22(Board::ExternalInterruptPin pin=Board::EXT0)
DHT(Board::ExternalInterruptPin pin=Board::EXT0)
DHT11(Board::ExternalInterruptPin pin=Board::EXT0)
static const int16_t INIT_HUMIDITY_SAMPLE
friend IOStream & operator<<(IOStream &outs, DHT &dht)
static const uint8_t DATA_MAX
static const uint16_t BIT_THRESHOLD
static const int16_t INIT_TEMPERATURE_SAMPLE
bool sample(int16_t &humidity, int16_t &temperature)
static const uint16_t LOW_THRESHOLD
virtual void adjust_data()=0
static const uint16_t HIGH_THRESHOLD
static const uint8_t DATA_LAST
virtual void on_interrupt(uint16_t arg=0)
uint8_t as_byte[DATA_MAX]
int16_t temperature() const
virtual void on_sample_completed(bool valid)
static const uint16_t MIN_PERIOD