Assignment 2.2
Post date: Jul 03, 2010 8:7:58 PM
This was a pretty easy one. It didn't take me much time at all.
void setup()
{
}
void loop()
{
for (int = 13; led >=5; led--)
{
pinMode(led, OUTPUT);
digitalWrite(led, HIGH);
delay(50);
digitalWrite(led, LOW);
}
for (int led =5; led<=13; led++)
{
pinMode(led, OUTPUT);
digitalWrite(led, HIGH);
delay(50);
digitalWrite(led, LOW);
}
}