A simple library for reading data from a DHT22 sensor

Dependents:   frdm_dht22_example DISCO-L053C8_ePD_demo

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/

History

Patches by Fred. Apparently the built in wait_us is a bit delicate, so Fred has added his own. Much nicer! default tip

2016-11-03, by co657_sjc80 [Thu, 03 Nov 2016 14:06:39 +0000] rev 2

Patches by Fred. Apparently the built in wait_us is a bit delicate, so Fred has added his own. Much nicer!


Removed unused timer.

2016-01-06, by co657_sjc80 [Wed, 06 Jan 2016 15:36:07 +0000] rev 1

Removed unused timer.


Initial commit;

2016-01-04, by co657_sjc80 [Mon, 04 Jan 2016 14:45:33 +0000] rev 0

Initial commit;