martes, 12 de septiembre de 2017

Boceto SOS

void setup() {
 pinMode(2,OUTPUT);
}

void loop() {

 digitalWrite(2,HIGH);
 delay(500);
 digitalWrite(2,LOW);
 delay(500);
 digitalWrite(2,HIGH);
 delay(500);
 digitalWrite(2,LOW);
 delay(500);
 digitalWrite(2,HIGH);
 delay(500);
 digitalWrite(2,LOW);
 delay(1000);
 digitalWrite(2,HIGH);
 delay(1000);
 digitalWrite(2,LOW);
 delay(1000);
 digitalWrite(2,HIGH);
 delay(1000);
 digitalWrite(2,LOW);
 delay(1000);
 digitalWrite(2,HIGH);
 delay(1000);
 digitalWrite(2,LOW);
 delay(1000);
 digitalWrite(2,HIGH);
 delay(500);
 digitalWrite(2,LOW);
 delay(500);
 digitalWrite(2,HIGH);
 delay(500);
 digitalWrite(2,LOW);
 delay(500);
 digitalWrite(2,HIGH);
 delay(500);
 digitalWrite(2,LOW);
 delay(3000);
}

0 comentarios:

Publicar un comentario