Onewire not working with PIN6 (GPIO6) on Lolin ESP32-C3 pico

I'm not sure if this is the best place to post this issue. Feel free to suggest where it should be posted.

I have Lolin ESP32-C3 Pico board. I'm using Arduino IDE 2.1.1 with ESP32 boards version 2.0.11. I observe that even with the example sketches for DS18B20 temperature sensors, they do not work using PIN6 (GPIO6) for the ONE_WIRE_BUS (OneWire.h DallasTemperature.h) but they do work by changing only to PIN2 (GPIO2). In searching the various forums I can find no indication as to why PIN6 will not work. I'd like to use PIN6 because I'm using the Pico board to replace an ESP8266 board that is already wired to the position of PIN6.

Why won't PIN6 work?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.