I am using the ESP32 code from RandmomNerd (https://RandomNerdTutorials.com/esp32-esp8266-thermostat-web-server/) to test my DS18820 Temp Sensor. The code and the hardware work perfectly. Then I start to configure so I can use the built on OLED. I add the #include “heltec.h” and compile all still works. Then I add
Heltec.begin(true /*DisplayEnable Enable*/, false /*LoRa Enable*/, false /*Serial Enable*/);
rigjht after the void setup() {.
Now when I compile the temp returned is -127C or -196F. Which supposedly means a hardware setup issue but that cannot be since I never even touched the hardware. If I comment out the line Heltec.begin and recompile again I get normal temps.
Clearly there is some compatibility issue with the display and talking to the OneWire sensors.
Can some one help me please.