Nano programming pins

Hello,

I'm looking for the pin numbers on Arduino Nano to code.
I have used pin 12 (D12), pin 13 (D13) as:

const int test-1 = 12; // pin D12
const int test-2 = 13; // pin D13

It's OK,

but I don't know which pin number for A0-A7 for coding. I didn't find any info. for this.

Thanks for helps,
V5D

I have read your post several times and I still do not know what you are talking about. Probably a translation problem.

You didn't find any info on Nano pin numbers? Seriously? 5 seconds with Google got me this:

A0 is A0. Also 14. A1 is A1. Also 15. Etc.

1 Like

You don't need to know the numbers. Just use A0 to A7. The compiler knows the pin numbers for those pins

const int test_3 = A3; // pin A3

Note: "-" is not allowed in a variable name, as far as I know.

1 Like

Sorry for that.
The pin numbers are different on document, on PCB and in programming used. That makes confusing...
Cheers :wink:

They should be same.
A0 (14) .... A7 (21). You can use either or.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.