A library for the use of AM2303 (a.k.a. DHT22), a temperature and humidity sensor.
Dependents: AM2303_Hello_World
Fork of DHT11 by
Revision 2:1e997b7a1f9a, committed 2014-09-10
- Comitter:
- s_inoue_mbed
- Date:
- Wed Sep 10 17:03:41 2014 +0000
- Parent:
- 1:95b80cc3f676
- Child:
- 3:8cd064147bde
- Commit message:
- Error code description was changed from integers to enums.
Changed in this revision
DHT11.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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 {