Change initial HIGH delay, fix comments in examples

This commit is contained in:
Phillip Burgess committed 2019-01-28 17:05:54 -08:00
1 parent d26e8ec729
commit d6488c1fbe
4 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -171,7 +171,7 @@ bool DHT::read(bool force) {
pinMode(_pin, INPUT_PULLUP);
// Now start reading the data line to get the value from the DHT sensor.
delayMicroseconds(60); // Delay a bit to let sensor pull data line low.
delayMicroseconds(40); // Delay a bit to let sensor pull data line low.
// Turn off interrupts temporarily because the next sections
// are timing critical and we don't want any interruptions.