Paso 3: Añadir el código
Este bosquejo tiene un segundo 12 pausar antes el parpadeo que se ejecuta en un bucle sin el segundo 12 pausa volver en el bucle.
Este esquema funcionará con cualquier arduino, sin embargo es mejor con el mini pro.
Conecte el positivo de led al pin 9 y el suelo a cualquier terreno.
int ledPin = 9;
void setup() {pinMode (ledPin, salida);
digitalWrite (ledPin, HIGH); tiempo de pausa para delay(12000) led;
}
void loop() {}
digitalWrite (ledPin, LOW);
Delay(220);
digitalWrite (ledPin, HIGH); LED encendido
Delay(30);
digitalWrite (ledPin, LOW);
Delay(50);
digitalWrite (ledPin, HIGH); LED encendido
Delay(10);
digitalWrite (ledPin, LOW);
Delay(35);
digitalWrite (ledPin, HIGH); LED encendido
Delay(30);
digitalWrite (ledPin, LOW);
Delay(10);
digitalWrite (ledPin, HIGH); LED encendido
Delay(30);
digitalWrite (ledPin, LOW);
Delay(15);
digitalWrite (ledPin, HIGH); LED encendido
Delay(45);
digitalWrite (ledPin, LOW);
Delay(220);
digitalWrite (ledPin, HIGH); LED encendido
Delay(40);
digitalWrite (ledPin, LOW);
Delay(30);
digitalWrite (ledPin, HIGH); LED encendido
Delay(35);
digitalWrite (ledPin, LOW);
Delay(10);
digitalWrite (ledPin, HIGH); LED encendido
Delay(50);
digitalWrite (ledPin, LOW);
Delay(35);
digitalWrite (ledPin, HIGH); LED encendido
Delay(50);
digitalWrite (ledPin, LOW);
Delay(30);
digitalWrite (ledPin, HIGH); LED encendido
Delay(20);
digitalWrite (ledPin, LOW);
Delay(50);
digitalWrite (ledPin, HIGH); LED encendido
Delay(10);
digitalWrite (ledPin, LOW);
Delay(60);
digitalWrite (ledPin, HIGH); LED encendido
Delay(445);
digitalWrite (ledPin, LOW);
Delay(15);
digitalWrite (ledPin, HIGH); LED encendido
Delay(35);
digitalWrite (ledPin, LOW);
Delay(30);
digitalWrite (ledPin, HIGH); LED encendido
Delay(45);
digitalWrite (ledPin, LOW);
Delay(30);
digitalWrite (ledPin, HIGH); LED encendido
Delay(20);
digitalWrite (ledPin, LOW);
Delay(50);
digitalWrite (ledPin, HIGH); // led on................
Delay(510);
digitalWrite (ledPin, LOW);
Delay(60);
digitalWrite (ledPin, HIGH); LED encendido
Delay(45);
digitalWrite (ledPin, LOW);
Delay(15);
digitalWrite (ledPin, HIGH); LED encendido
Delay(35);
digitalWrite (ledPin, LOW);
Delay(30);
digitalWrite (ledPin, HIGH); LED encendido
Delay(45);
digitalWrite (ledPin, LOW); //
Delay(160);
digitalWrite (ledPin, HIGH); LED encendido
Delay(20);
digitalWrite (ledPin, LOW);
Delay(50);
digitalWrite (ledPin, HIGH); LED encendido
Delay(10);
digitalWrite (ledPin, LOW);
Delay(60);
digitalWrite (ledPin, HIGH); LED encendido
Delay(45);
digitalWrite (ledPin, LOW);
Delay(15);
digitalWrite (ledPin, HIGH); LED encendido
Delay(35);
digitalWrite (ledPin, LOW);
Delay(30);
digitalWrite (ledPin, HIGH); LED encendido
Delay(45);
digitalWrite (ledPin, LOW);
Delay(60);
digitalWrite (ledPin, HIGH); LED encendido
Delay(40);
digitalWrite (ledPin, LOW);
Delay(50);
digitalWrite (ledPin, HIGH); LED encendido
Delay(10);
digitalWrite (ledPin, LOW);
Delay(45);
digitalWrite (ledPin, HIGH); LED encendido
Delay(550);
digitalWrite (ledPin, LOW);
Delay(20);
digitalWrite (ledPin, HIGH); LED encendido
Delay(30);
digitalWrite (ledPin, LOW);
Delay(50);
digitalWrite (ledPin, HIGH); LED encendido
Delay(10);
digitalWrite (ledPin, LOW);
Delay(35);
digitalWrite (ledPin, HIGH); LED encendido
Delay(30);
digitalWrite (ledPin, LOW);
Delay(10);
digitalWrite (ledPin, HIGH); LED encendido
Delay(30);
digitalWrite (ledPin, LOW);
Delay(15);
digitalWrite (ledPin, HIGH); LED encendido
Delay(45);
digitalWrite (ledPin, LOW);
Delay(20);
digitalWrite (ledPin, HIGH); LED encendido
Delay(40);
digitalWrite (ledPin, LOW);
Delay(30);
digitalWrite (ledPin, HIGH); LED encendido
Delay(35);
digitalWrite (ledPin, LOW);
Delay(10);
digitalWrite (ledPin, HIGH); LED encendido
Delay(50);
digitalWrite (ledPin, LOW);
Delay(35);
digitalWrite (ledPin, HIGH); LED encendido
Delay(50);
digitalWrite (ledPin, LOW);
Delay(30);
digitalWrite (ledPin, HIGH); LED encendido
Delay(20);
digitalWrite (ledPin, LOW);
Delay(50);
digitalWrite (ledPin, HIGH); LED encendido
Delay(10);
digitalWrite (ledPin, LOW);
Delay(60);
digitalWrite (ledPin, HIGH); LED encendido
Delay(45);
digitalWrite (ledPin, LOW);
Delay(15);
digitalWrite (ledPin, HIGH); LED encendido
Delay(35);
digitalWrite (ledPin, LOW);
Delay(30);
digitalWrite (ledPin, HIGH); LED encendido
Delay(45);
digitalWrite (ledPin, LOW);
Delay(60);
digitalWrite (ledPin, LOW);
Delay(30);
digitalWrite (ledPin, HIGH); LED encendido
Delay(20);
digitalWrite (ledPin, LOW);
Delay(50);
digitalWrite (ledPin, HIGH); LED encendido
Delay(10);
digitalWrite (ledPin, LOW);
Delay(60);
digitalWrite (ledPin, HIGH); LED encendido
Delay(45);
digitalWrite (ledPin, LOW);
Delay(15);
digitalWrite (ledPin, HIGH); LED encendido
Delay(35);
digitalWrite (ledPin, LOW);
Delay(30);
digitalWrite (ledPin, HIGH); LED encendido
Delay(45);
digitalWrite (ledPin, LOW);
Delay(60);
digitalWrite (ledPin, LOW);
Delay(30);
digitalWrite (ledPin, HIGH); LED encendido
Delay(20);
digitalWrite (ledPin, LOW);
Delay(50);
digitalWrite (ledPin, HIGH); LED encendido
Delay(10);
digitalWrite (ledPin, LOW);
Delay(60);
digitalWrite (ledPin, HIGH); LED encendido
Delay(45);
digitalWrite (ledPin, LOW);
Delay(15);
digitalWrite (ledPin, HIGH); LED encendido
Delay(35);
digitalWrite (ledPin, LOW);
Delay(30);
digitalWrite (ledPin, HIGH); LED encendido
Delay(45);
digitalWrite (ledPin, LOW);
Delay(60);
digitalWrite (ledPin, HIGH); LED encendido
Delay(40);
digitalWrite (ledPin, LOW);
Delay(50);
digitalWrite (ledPin, HIGH); LED encendido
Delay(10);
digitalWrite (ledPin, LOW);
Delay(45);
digitalWrite (ledPin, HIGH); LED encendido
Delay(50);
digitalWrite (ledPin, LOW);
Delay(60);
}