Normally, you wouldn’t be able to do that without extra parts, but on the ESP32, [BastelBaus] has found a nice hack — just connect your devices to different pins and slightly abuse the ESP32 ...
ESP32’s Arduino didn’t have a microsecondsToClockCycles ... After reassigning the data pin to one of the ESP32’s free ones (GPIO 27, FWIW), it compiled, uploaded, and ran just fine.
to the correct GPIO pins on your ESP32, you can download the specific code library for your sensor inside the Library Manager ...
Upload the source code to the ESP32. Assemble the circuit on a general-purpose PCB. Fix all seven LEDs on the PCB, including ...
You’ve also got the Mega models that live up their moniker with their massive IO pins and better ... you pair them with ESP32 and Raspberry Pi Pico boards. Since the Arduino IDE is compatible ...