system
February 11, 2009, 8:32am
1
hello, i am trying to understand a code example, but i dont know the correspondence between the number and the physical pin in the arduino decimilla:
int onModulePin = 2;
I understand the rest of the code. Does anybody known what is this pin or an URL with the correspondence?
Thanks. Regards
system
February 11, 2009, 9:06am
2
pin number 2 will correspond to the upper pin number 3 from the right.
system
February 11, 2009, 9:35am
3
Thanks! so, the numbers that i see in the board are the numbers used in the programming?
Regards
system
February 11, 2009, 12:51pm
4
Yes.
Do note that the "Analog 0" to "Analog 5" can also be used as regular digital I/O pins 14-19. I think the only function requiring the analog pin numbering scheme is analogRead().