I’m trying to use analogs pins A2, A3, and A0 in ESP32 DevKit V1 as digital pins (to blink three LEDs in my project), but I’m not having success.
I thought that I only need to do this:
pinMode(A2,OUTPUT) pinMode(A3,OUTPUT) pinMode(A0,OUTPUT) digitalWrite(A2,HIGH) digitalWrite(A3,HIGH) digitalWrite(A0,HIGH)
But for some reason, it doesn’t work. Is there some special configuration to Ax pins acts as digital? I can’t choose other pins because I have PCB design constraints.