You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Max clock cycles: 80000
Timeout waiting for start signal low pulse.
I've used this #48 as a reference but even after applying fix it still fails every time. Relevant section of my DHT.cpp
// End the start signal by setting data line high for 40 microseconds.
//digitalWrite(_pin, HIGH);
//delayMicroseconds(40);
// Now start reading the data line to get the value from the DHT sensor.
pinMode(_pin, INPUT_PULLUP);
delayMicroseconds(50); // Delay a bit to let sensor pull data line low.
Same board works fine if the read code is put in main loop.
The text was updated successfully, but these errors were encountered:
This is on an esp8266.
Went from polling sensor every 30 seconds via delay(30000) to using a Ticker. 100% failure.
I've even removed all wifi code down to just a ticker.
I enabled debug:
I've used this #48 as a reference but even after applying fix it still fails every time. Relevant section of my DHT.cpp
Same board works fine if the read code is put in main loop.
The text was updated successfully, but these errors were encountered: