Hello I’ve using temperature sensor several times in the recent past with other boards with no problems but now I can not make it work on xiao esp32c6.
On compilation i get this:
c:\Users\david.atauri\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h:174:25: error: no match for ‘operator>>’ (operand types are ‘volatile gpio_in_reg_t’ and ‘uint32_t’ {aka ‘long unsigned int’})
174 | return (GPIO.in >> pin) & 0x1;
| ~~~~~~~ ^~ ~~~
| | |
| | uint32_t {aka long unsigned int}
| volatile gpio_in_reg_t
I have tried diferent versions and I can avoid the error but no readings (device is not found)
Any clue??
Thanks