67 if (valid)
goto completed;
friend IOStream & operator<<(IOStream &outs, DHT &dht)
static const uint8_t DATA_MAX
static const uint16_t BIT_THRESHOLD
static uint32_t since(uint32_t start)
virtual void adjust_data()
virtual void adjust_data()=0
static const uint16_t HIGH_THRESHOLD
virtual void adjust_data()
static const uint8_t DATA_LAST
virtual void on_interrupt(uint16_t arg=0)
uint8_t as_byte[DATA_MAX]
virtual void on_sample_completed(bool valid)
static const uint16_t MIN_PERIOD
static void delay(uint32_t ms)