TecnoAstro

TECNOLOGÍA
Arduino
Proyectos con Arduino
Robótica cableada

Otros proyectos
Electrónica

Reciclaje
Proyecto (memoria) 
Tecnología Industrial
Enlaces tecnología
Informática
Enlaces informática

ASTRONOMÍA
Observaciones
Prácticas
Enlaces astronomía

FOTOGRAFÍA

EVENTOS DE CIENCIA (PROYECTOS)
Máquinas en Acción
Microrrobots y ...
Taller de Galileo ...
Tecnología Basura

Comentarios y sugerencias

 

// Blink pin 12 y 13 alternativamente


int led_12 = 12;
int led_13 = 13;

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin 13 as an output.
  pinMode(led_12, OUTPUT);
  pinMode(led_13, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(led_12, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                  // wait for a second
  digitalWrite(led_12, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                  // wait for a second
  digitalWrite(led_13, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                  // wait for a second
  digitalWrite(led_13, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                  // wait for a second
}