XIAO with DS18B20 sensor

Thanks!
Unfortunately this is not able to work on my side, do not know if may be important, for the data connection of the sensor I’m using the pin D2.

#define ONE_WIRE_BUS D2
OneWire oneWire(ONE_WIRE_BUS);

All the other libraries version are same your (OneWire 2.3.8 and DallasTemperature 3.9.0).

So, at this time and at least for me, the only way is to use the MaximWire library (I’m currently using the 1.0.3 version). With this one no trouble arise at first attempt. I think that should be mainly a timing issue on these different lib and the hardware I’m currently using. I’ve to take a deeper look to the data signal with oscilloscope, but at a first look it seems such type of problem.