A library for the use of DHT11, a temperature and humidity sensor

Dependents:   HTTP_SERVER2 lightweight-weather-station

Revision:
2:1e997b7a1f9a
Parent:
1:95b80cc3f676
Child:
3:8cd064147bde
--- a/DHT11.h	Wed Sep 10 15:58:15 2014 +0000
+++ b/DHT11.h	Wed Sep 10 17:03:41 2014 +0000
@@ -17,7 +17,7 @@
  * {
  *     int s;
  *     s = d.readData();
- *     if (s != 0) {
+ *     if (s != DHT11::OK) {
  *         printf("Error!\r\n");
  *     }
  *     else {