Hi Ron.
What’s exactly the error you’re getting?
Can you provide more details? Otherwise, it is very difficult to find out what might be wrong.
Regards,
Sara
OneWire.cpp:(.text._ZN7OneWire11check_crc16EPKhtS1_t+0x0): multiple definition of `OneWire::check_crc16(unsigned char const*, unsigned short, unsigned char const*, unsigned short)’
C:\Users\rktut\AppData\Local\Temp\arduino_build_392761\libraries\OneWire\OneWire.cpp.o:OneWire.cpp:(.text._ZN7OneWire11check_crc16EPKhtS1_t+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
Using library OneWire at version 2.3.4 in folder: C:\Users\rktut\OneDrive\Documents\Arduino\libraries\OneWire
Using library DallasTemperature at version 3.7.9 in folder: C:\Users\rktut\OneDrive\Documents\Arduino\libraries\DallasTemperature
exit status 1
Error compiling for board DOIT ESP32 DEVKIT V1.
Hi Ron.
That error means that you have the OneWire library installed two times.
In this directory: C:\Users\rktut\AppData\Local\Temp\arduino_build_392761\libraries\OneWire\OneWire.cpp
and this one
C:\Users\rktut\OneDrive\Documents\Arduino\libraries\OneWire
Remove the library from the
C:\Users\rktut\AppData\Local\Temp\arduino_build_392761\libraries\OneWire\OneWire.cpp directory.
Regards,
Sara