I am using an ESP-01 module and trying to write an arduino code for it. Problem is that I can't figure out the pin numbers to access GPIO0 and GPIO2.
As per the pinout diagrams online, GPIO0 is pin 5 and GPIO2 is 3 and in some other places, they are being referred to in arduino as pin 0 and 2. Which one is right? Please help, I am confused.