DHT22 library, based on Simon Cooksey's. Improved with some error checking and more rigid timing (interrupts off).

Fork of lib_dht22 by Jodie Perry

Revision:
1:10ec58346011
Parent:
0:257ba13e416e
Child:
3:40df3c72813f
--- a/dht22.h	Mon Jan 04 14:45:33 2016 +0000
+++ b/dht22.h	Wed Jan 06 15:36:07 2016 +0000
@@ -27,7 +27,6 @@
     void read(DHT22_data_t * data);
 private:
     DigitalInOut dht22_s;
-    Timer dht22_t;
 
     int wait_for_edge(edge_type_t type);
     void send_start();