dht222
2.0.0.0
|
Dht222 Click example. More...
Functions | |
void | dht222_display_temp_hum () |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
Dht222 Click example.
DHT22 2 click is used for measuring the environmental temperature and relative humidity. The calibration coefficient is saved in the OTP memory of an integrated MCU. The integrated MCU also provides I2C or 1-Wire interface, selectable by the onboard SMD jumper selectors. The operating voltage can also be selected by the onboard SMD jumper.
The demo application is composed of two sections :
Initialization driver enable's - I2C and start write log.
This is a example which demonstrates the use of DHT22 2 Click board. DHT22 2 Click communicates with register via I2C protocol read data from register, measured temperature and humidity data from the AM2322 sensor. Convert temperature data to degrees Celsius [ �C ] and humidity data to percentarg [ % ]. Results are being sent to the Usart Terminal where you can track their changes. All data logs on usb uart for aproximetly every 5 sec.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
void dht222_display_temp_hum | ( | ) |
void main | ( | void | ) |