One more question I also need to connect to D18 but I dont have the WROOM version

one more question I also need to connect to D18 but I dont have the WROOM version

I have an esp32

Your question does not make sense because it's lacking context.

so what im saying is my esp32 doesn’t have a D18 port and I need to connect to it is there any other ports I can connect to

Is there a specific reason that you need to use D18? I'm not familiar with the ESP32 based boards; in principle you can use any pin but I have no idea what your project is about.

You might want to look at this How to get the best out of this forum before you proceed any further.
We only know what you tell us, and without knowing what you have, we don't stand a chance.

No idea why you think the WROOM board would be different with regards to pin 18, here is a standard pinout with D18 marked in RED. If your board does NOT have a D18, pick another on and change the one line in the code that assigns D18 to a variable.

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