good day to all of you.. im new in arduino and i would like to ask if i can use A0 until A7 as digital pin inputs??/ thx
You can use A0 to A5 as digital pins, on most Arduinos. Most do not have A6 and A7. Whether those will function as digital pins, I do not know.
thx... well ill be refraining from using A6 and A7
on the mega 69 pins are usable but I'm using port mapping so I just checked and the mega pins_arduino.h has all 69 mapped and digitalWrite and pinMode don't have anything blocking the use of the analogue pins as digital, you can use A0 to A15 pin names in the digitalWrite function. So don't refrain if you need more digital pins
For boards like the Nano, A6 and A7 are analogue mux inputs only, and cannot be used as digital inputs or outputs.