Page 66 - Proyecto
P. 66
pinMode (dd8, OUTPUT);
pinMode (dd9, OUTPUT);
pinMode(dd10,OUTPUT);
pinMode (dd11, OUTPUT);
pinMode (dd12, OUTPUT);
}
void loop()
{
digitalWrite(dd6, HIGH);
digitalWrite(dd1, LOW);
digitalWrite(dd5, LOW);
digitalWrite(dd7, LOW);
digitalWrite(dd4, LOW);
digitalWrite(dd2, LOW);
digitalWrite(dd3, LOW);
digitalWrite(dd8, LOW);
digitalWrite(dd9, LOW);
digitalWrite(dd10, LOW);
digitalWrite(dd11, LOW);
digitalWrite(dd12, LOW);
delay(t);
digitalWrite(dd3, HIGH);
digitalWrite(dd1, LOW);
digitalWrite(dd5, LOW);
digitalWrite(dd6, LOW);
digitalWrite(dd7, LOW);
digitalWrite(dd2, LOW);
digitalWrite(dd4, LOW);
digitalWrite(dd8, LOW);
digitalWrite(dd9, LOW);
digitalWrite(dd10, LOW);
digitalWrite(dd11, LOW);
digitalWrite(dd12, LOW);
delay(t);
digitalWrite(dd2, HIGH);
digitalWrite(dd1, LOW);
digitalWrite(dd5, LOW);
digitalWrite(dd6, LOW);
digitalWrite(dd7, LOW);
digitalWrite(dd4, LOW);
61