Closed Soumi422 closed 2 years ago
It seems you are using arduino-esp32 v2.0.0 and you have replaced rtc_gpio_desc
with rtc_io_desc
in util/OneWire_direct_gpio.h.
Could you test the changes from https://github.com/PaulStoffregen/OneWire/pull/102/files instead?
Thanks.
It seems you are using arduino-esp32 v2.0.0 and you have replaced
rtc_gpio_desc
withrtc_io_desc
in util/OneWire_direct_gpio.h. Could you test the changes from https://github.com/PaulStoffregen/OneWire/pull/102/files instead? Thanks.
@codepam Thanks! This patch worked with the newest version without error!
@Soumi422 thank you for confirming.
Duplicate of #100
I'm waiting on more ESP32 user feedback before publishing a new OneWire version. So far only 3 people have reported results with #102 applied.
Michal-Szczepaniak said "+1 works perfectly on my esp32" damianjwilliams said "Not working on my ESP32-S2-WROVER" ClemensGruber said "I downgraded to Arduino ESP core 1.0.6 and code is still compiling and DS18B20 working as expected".
Now is the time to contribute by just installing the latest and running on your ESP32 hardware, then post clear feedback. Is this ready to publish as a new version to Arduino's library manager?
I'm getting this error, when trying to use Wifi + DallasTemperature && OneWire on my esp32. Temperature sensor is Gravity DS18B20.
When I don't use Wifi it works fine.
This is an error code
Here I have it decoded
also with backtracked lines in the files mentioned above
And my executed code
I'm not very good in c++, could someone please help me?
LoadProhibited
: It looks like it trying to access a memory that it shouldn't?