Go Down

Topic: Arduino Nano LEDs (Read 1 time) previous topic - next topic

VT91

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.

CrossRoads

A0 = D14
:
:
A5 = D19

A6, A7 are analog input ONLY. Hardware limitation of the '328P chip.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

VT91


A0 = D14
:
:
A5 = D19

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


Does that chart mention the hardware limitation?

CrossRoads

I can't see the chart from this connection.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

VT91

Thank you.
I think that I got things to work.
It was a hardware problem, I suspect.

Go Up