COSA
An Object-Oriented Platform for Arduino Programming
DHT::data_t Union Reference

#include <DHT.hh>

Collaboration diagram for DHT::data_t:
Collaboration graph

Public Attributes

uint8_t as_byte [DATA_MAX]
 
struct {
   int16_t   humidity
 
   int16_t   temperature
 
   uint8_t   chksum
 
}; 
 

Detailed Description

Data read from the device. Allow mapping between received byte vector and data fields.

Definition at line 179 of file DHT.hh.

Member Data Documentation

struct { ... }
uint8_t DHT::data_t::as_byte[DATA_MAX]

Definition at line 180 of file DHT.hh.

uint8_t DHT::data_t::chksum

Definition at line 184 of file DHT.hh.

int16_t DHT::data_t::humidity

Definition at line 182 of file DHT.hh.

int16_t DHT::data_t::temperature

Definition at line 183 of file DHT.hh.


The documentation for this union was generated from the following file: