I’m confused on pin assignments on the Nano.
There’s the pins on the board itself and pins on the chip.
The schematic shows board pin #'s that are the same, because there are two jacks.
There are examples of code that call out a pin by # and others that call it out by name.
myservo.attach(9) - is this pin 9 on the board (D6) or pin 9 on the chip (D5)?
If I call out pin 9, how do I determine if it’s the D6 pin or the A3 pin on the other header?
val=analogRead(A0) - does this indicate that the compiler knows that A0 is attached to the chip pin 23, and the board pin 12,
Would it be better to call out pins by name per the analog command, and let the compiler figure out what the pin# is or should I go by pin #'s on the chip, since there are duplicated pin #'s on the nano board itself?