-
-
Notifications
You must be signed in to change notification settings - Fork 11
Stopped working in the latest esp32 library #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Willdo. |
replaced the following 2 files from 13/02 version and it worked so its confirmed that 6259 is the one that affects this.
|
The problem is that on ESP32 the pin that is used for communicating with the DHT sensor has to be switched from "GPIO" to "RMT" and this takes a certain amount of time. Switching before the RMT is ready results in losing the first pulses. Switching too late obviously has the same result. The actual switching is done here: Unfortunately I haven't found a reliable way to do this just in time. So whenever the underlying code (Arduino framework) changes, the timing might be off and the library stops working. So I have to build my test setup again and do some trial and error with the logic analyzer. |
thanks for the pointers, i have managed to track the changes and created the pull. |
Hi,
I have been using this for some time and working fine but since this commit
espressif/arduino-esp32#6259
or something around that time stopped working.
the last known good working arduino-esp32 was downloaded on 13/02/2022 and is working fine but newer versions it don't get any temperature values.
Please check if there is something that is stopping the show.
Thank you.
The text was updated successfully, but these errors were encountered: