xxxPin means its a pin?

So the word pinMode actually defines it's about a pin right?

pinMode sets the mode on the pin of whatever number you give it. But you can use that variable for other things besides pinMode. eg

int CurrentYear;
int YearBorn;
int age;

CurrentYear = 2009;
YearBorn = 1999;
age = CurrentYear - YearBorn; //That's 10 years old :slight_smile:

pinMode(age,OUTPUT);
digitalWrite(age, HIGH); //turn on pin corresponding to age
//better hope the kid's 13 or less