Go Down

Topic: pin number. (Read 887 times) previous topic - next topic

cucu

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:

Code: [Select]

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

AlphaBeta

pin number 2 will correspond to the upper pin number 3 from the right.

cucu

Thanks! so, the numbers that i see in the board are the numbers used in the programming?

Regards

halley

#3
Feb 11, 2009, 01:51 pm Last Edit: Feb 11, 2009, 01:53 pm by halley Reason: 1
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().

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy