Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: frdm_dht22_example DISCO-L053C8_ePD_demo
Homepage
Simple library for doing DHT22 sensor readings. I've tested this on an FRDM K64F, but I see no reason it wouldn't work on other platforms.
Note that the data in `dht22_data_t` is fixed point, to convert to a normal number, divide by 10.
There is an example application here: https://developer.mbed.org/users/co657_sjc80/code/frdm_dht22_example/