Az Delivery ESP32 DevKitC V2 PIN names/number
ESP32 boards don't use &quot;names&quot; for their IO pins. There is a direct 1:1 mapping between the internal &quot;GPIO&quot; number and the pin number.
To do something with pin G21 on the board you use pin number 21. To do something with pin G14 you use pin number 14.
By all accounts that board differs from other ESP32 devkits in that the LED is on GPIO1 rather than the normal GPIO0 that all the other boards use. I suspect that this is the source of your confusion.