Dear Team,
I would like to know whether I can use all analog pins of Arduino nano(A0 to A7) as digital.
Arduino pin information page says as
The analog pins can be used identically to the digital pins, using the aliases A0 (for analog input 0), A1, etc. For example, the code would look like this to set analog pin 0 to an output, and to set it HIGH:
pinMode(A0, OUTPUT);
digitalWrite(A0, HIGH);
regards
HAri