Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Digital pin numbers, and AVR codes on Arduino Micro diagram #2

Open
devzendo opened this issue Oct 22, 2015 · 1 comment
Open

Digital pin numbers, and AVR codes on Arduino Micro diagram #2

devzendo opened this issue Oct 22, 2015 · 1 comment

Comments

@devzendo
Copy link

Hi Bouni,
Many thanks for your really clear Arduino diagrams!

I've been using the Arduino Micro one, and have found a few differences with the digital pin assignments in version 1.6.5 of the Arduino IDE (variants/leonardo/pins_arduino.h, included from variants/micro/pins_arduino.h), and have verified that these pin numbers raise signals on the correct pins, with digitalWrite().

On the left:
A0 is D18, not 14.
A1 is D19, not 15,
A2 is D20, not 16,
A3 is D21, not 17,
A4 is D22, not 18 - and this is PF1, not PF3,
A5 is D23, not 19 - and this is PF0, not PF2,
MISO/PB3 is also D14 (I haven't tested this),
SCK/PB1 is also D15 (I haven't tested this),

On the right,
PD3/0/RX/INT2 should be PD2,
PD2/1/TX/INT3 should be PD3
PB0/SS is also D17 (I haven't tested this),
PB2/MOSI is also D16 (I haven't tested this).

There are also duplicated digital pins, eg D12 is also D29, and others, but I don't think these are needed.

Sorry I can't edit SVG and submit a pull request.

Kind regards,
Matt Gumbley

@Bouni
Copy link
Owner

Bouni commented Oct 26, 2015

I will fix these pin number as soon as i have some spare time, maybe this week :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants