I can't believe I'm saying this but I can't get an LED on GPIO2 to light on my ESP32. I measured 3.3v on my pin when pulled high. The wiring is simple resistor (I tried 220ohm and 330ohm), green LED, then to ground.
Any ideas? I don't have any other pins available so please do not tell me to use a different pin. Onboard LED is working.
If you are using the following 30-pin ESP32 Dev Module (Fig-1), then FPIO2 is connected with the onboard Blue LED. Without connecting anything with the GPIO2-pin, upload the following sketch and check that the onboard Blue LED is blinking.