Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

Arduino Micro pinout diagram for extended analog inputs and schematics erratum

Open avilleret opened this issue 12 years ago • 7 comments

hi,

in the Micro's pinout diagram on http://arduino.cc/en/Main/ArduinoBoardMicro there is no analog 8 (A8) pin but a A12 which is not defined in Arduino.h this is confunsing.

avilleret avatar Dec 16 '13 09:12 avilleret

i've made a quick test : A6 is on pin 4 A7 is on pin 6 A8 is on pin 8 A9 is on pin 9 A10 is on pin 10 A11 is on pin 12

the pin name are those you need to use in the code

avilleret avatar Dec 16 '13 09:12 avilleret

Thank you for that. Someone needs to fix the official pinout. This has caused a lot of frustration for my projects.

sid9102 avatar Feb 18 '14 21:02 sid9102

@avilleret, I'm not sure I follow: You say there is no A8 but only A12, but then you list the pin numbers for A8 and not A12. Also, the pin numbers you list are consistent with the official documentation:

Analog Inputs: A0-A5, A6 - A11 (on digital pins 4, 6, 8, 9, 10, and 12)

Oh! Just found the actual diagram you were referering to:

Which is indeed wrong.

matthijskooijman avatar Feb 19 '14 15:02 matthijskooijman

On the diagram you linked, there is no A8 pin, but there is a pin labelled "A12". In the page you linked,

Analog Inputs: A0-A5, A6 - A11 (on digital pins 4, 6, 8, 9, 10, and 12)

which is inconsistent with the diagram.

I listed the pin id as they can be used in the code with Arduino IDE. They are associated with the digital pin number of the Arduino as it appears on the diagram. Because, trying to put the label "A12" (like it appears on the diagram) in the code leads to a compilation error like ""A12" not defined".

here is my correction : arduinomicro_pinout2-bugfix

avilleret avatar Feb 19 '14 16:02 avilleret

Yes, I understand what you mean now. Your correction looks good to me, now someone with documentation-editing-powers should come over and replace the image :-)

matthijskooijman avatar Feb 19 '14 16:02 matthijskooijman

@shfitz bump

madbob avatar May 21 '14 15:05 madbob

remedied.

shfitz avatar May 21 '14 16:05 shfitz