OneWire library instability when the complexity of the code increase (ESP32

pberna

Member
Dear Developer

After a lot of time of analysis we discover and instability problem of one wire library and above stack (I'm using DallasTemperature lib) when the complexity of the application code increase. library instability appears in terms of freezing the value returned by the temperature sensor readings function.

For more details see here:
https://github.com/milesburton/Arduino-Temperature-Control-Library/issues/188

It seems that only putting some function of OneWire and DallasTemperature lib in the CACHE RAM than is possible to communicate with the Dallas Temperature Sensor IF the complexity of the application program increase.

You don't experiment any reading problem if the complexity of the program is low.

Please analyze the problem in deep and validate the solution found
 
Back
Top