Hi,
I don't know why there is such a delay in my Arduino executing code. On my actual Arduino Duemilanove board, it turns the LED on instantly when I supply power to the Arduino Duemilanove board. However, on my standalone circuit, as you can see in the video, it turns on real briefly, then turns off for a couple seconds, then finally turns on.
Video demonstration:
As you probably can tell, the larger LED to the left is connected to power directly, not the Arduino chip. And sorry for the blurriness.
Do I have the capacitor hooked up right?
The reason I'm asking all of this is because my next project is going to require instant code execution upon power being supplied to my circuit.
Oh, here's the sketch just to show how simple it is:
#define LED 13 // LED connected to
// digital pin 13
void setup()
{
pinMode(LED, OUTPUT); // sets the digital
// pin as output
}
void loop()
{
digitalWrite(LED, HIGH); // turn the LED on
}