int pinled;
int pausa=1500;
void setup()
{
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
pinMode(11, OUTPUT);
pinMode(10, OUTPUT);
pinMode(9, OUTPUT);
}
void loop()
{
for(pinled=9; pinled<=13; pinled++)
{
digitalWrite(pinled, 1);
delay(pausa);
digitalWrite(pinled, 0);
}
}
No hay comentarios:
Publicar un comentario