What did I do wrong?
I have an LED on D13 silkscreened on the board as well as the "L" led on the board its self.
I am using arduino ide 1.01
I am using the mighty 1284 bootloader with optiboot.
Standard blink sketch does not blink the LED. but if I change it to
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 7;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
An LED on pin 13 and the "L" led blink as I would expect d13 to if I digitalWrite 13 but I am using 7 in the above sketch.
Are the pins different on the DIP version verses the SMD version. Is there another bootloader I should use?
Thanks. It works and I did burn a bootloader. That was a learning experience in and of its self.