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.
Fork of DHT by
Revision 1:21dc04090457, committed 2014-03-18
- Comitter:
- umairaftab
- Date:
- Tue Mar 18 23:48:19 2014 +0000
- Parent:
- 0:9b5b3200688f
- Commit message:
- Working;
Changed in this revision
DHT.cpp | Show annotated file Show diff for this revision Revisions of this file |
DHT.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 9b5b3200688f -r 21dc04090457 DHT.cpp --- a/DHT.cpp Mon Jul 09 19:47:43 2012 +0000 +++ b/DHT.cpp Tue Mar 18 23:48:19 2014 +0000 @@ -1,34 +1,3 @@ -/* - * DHT Library for Digital-output Humidity and Temperature sensors - * - * Works with DHT11, DHT22 - * SEN11301P, Grove - Temperature&Humidity Sensor (Seeed Studio) - * SEN51035P, Grove - Temperature&Humidity Sensor Pro (Seeed Studio) - * AM2302 , temperature-humidity sensor - * HM2303 , Digital-output humidity and temperature sensor - * - * Copyright (C) Wim De Roeve - * based on DHT22 sensor library by HO WING KIT - * Arduino DHT11 library - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documnetation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS OR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ #include "DHT.h"
diff -r 9b5b3200688f -r 21dc04090457 DHT.h --- a/DHT.h Mon Jul 09 19:47:43 2012 +0000 +++ b/DHT.h Tue Mar 18 23:48:19 2014 +0000 @@ -1,34 +1,4 @@ -/* - * DHT Library for Digital-output Humidity and Temperature sensors - * - * Works with DHT11, DHT21, DHT22 - * SEN11301P, Grove - Temperature&Humidity Sensor (Seeed Studio) - * SEN51035P, Grove - Temperature&Humidity Sensor Pro (Seeed Studio) - * AM2302 , temperature-humidity sensor - * RHT01,RHT02, RHT03 , Humidity and Temperature Sensor (Sparkfun) - * - * Copyright (C) Wim De Roeve - * based on DHT22 sensor library by HO WING KIT - * Arduino DHT11 library - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documnetation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS OR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ + #ifndef MBED_DHT_H #define MBED_DHT_H