Added gitignore file. Added sensor selection to DHT config for DHT11/… (#152)

* Added gitignore file. Added sensor selection to DHT config for DHT11/21/22 sensors. DHT22 used a default to ensure backwards compatibility.

* Removed quotes to fix compliation error.

* Moved local ignored file from .gitignore to .git/info/exclude per request. Removed .gitignore.
This commit is contained in:
Eric Hosford authored and Florian committed 2018-01-06 07:56:25 +01:00
1 parent 0a1f2b1cdb
commit 9d55af871b
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@
#include <DHT.h>
#include <DHT_U.h>
DHT dht(DHT_RECEIVER_PIN,DHT22);
DHT dht(DHT_RECEIVER_PIN,DHT_SENSOR_TYPE);
//Time used to wait for an interval before resending temp and hum
unsigned long timedht = 0;