CrossRoads:
I've always used 14 to 19 instead of A0 to A5, makes it more clear that digital is being used.
So:byte pin19 = 19;
void setup() {
// initialize the digital pin as an output.
pinMode(pin19, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(pin19, HIGH); // turn the LED on (HIGH is the voltage level)
delay(3000); // wait for a second
digitalWrite(pin19, LOW); // turn the LED off by making the voltage LOW
delay(3000); // wait for a second
}
3000 = 3 seconds, not 1 second
I tried using '19' instead of 'A5' after I did my post but it still didn't work. I changed it to delay 3 seconds to give my multi meter time to stabilize. Any other ideas? Could it be something specific to the pro mini?