Arduino Forum

Using Arduino => LEDs and Multiplexing => Topic started by: VT91 on Jan 27, 2014, 06:24 pm

Title: Arduino Nano LEDs
Post by: VT91 on Jan 27, 2014, 06:24 pm
I am looking at this chart:
http://forum.arduino.cc/index.php?topic=147582.0

I connected 3 LEDs to pins A4, A5 and A6 through 220 ohm resistors, in source mode.

What pin numbers are associated with pins labeled A4, A5 and A6 in Arduino programming language?
Can those pins be used for digital output at all?

When I use digitalWrite(); command, every pin has a number, associated with it.
http://forum.arduino.cc/index.php?topic=147582.0

What number from this chart do I use to know what is the address of all my D2...D13 and A0...A7 pins?

I am using  17,18,19,20 for button inputs and they are A0, A1, A2, A3. Can I use A4,A5,A6 as LED output pins?
Thanks.
Title: Re: Arduino Nano LEDs
Post by: CrossRoads on Jan 27, 2014, 06:26 pm
A0 = D14
:
:
A5 = D19

A6, A7 are analog input ONLY. Hardware limitation of the '328P chip.
Title: Re: Arduino Nano LEDs
Post by: VT91 on Jan 27, 2014, 06:53 pm

A0 = D14
:
:
A5 = D19

A6, A7 are analog input ONLY. Hardware limitation of the '328P chip.


Does that chart mention the hardware limitation?
Title: Re: Arduino Nano LEDs
Post by: CrossRoads on Jan 27, 2014, 08:07 pm
I can't see the chart from this connection.
Title: Re: Arduino Nano LEDs
Post by: VT91 on Jan 27, 2014, 08:21 pm
Thank you.
I think that I got things to work.
It was a hardware problem, I suspect.