The Atmega I work with is a virtual one (see the attachment). All the pins are already nicely labeled.
This is the illogical code that blinks pin 17 (marked with blue in the attachment).
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(13, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
delay(100); // wait for a second
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
delay(100); // wait for a second
}
I want to write things like "pinMode(17, OUTPUT);" and blink 17 not "pinMode(13, OUTPUT);" and blink 17.
