Blink

CÓDIGO
/*
Blink
habacuc.electronics@gmail.com
habacucelectronics.blogspot.com
*/
#define LED 2 //Le damos un nombre a nuestro pin 2.
void setup() {
pinMode(LED, OUTPUT); //Definimos el pin LED como salida.
}

// la función de bucle se repite una y otra vez por siempre
void loop() {
  digitalWrite(LED,HIGH); 
  delay(1000);             
  digitalWrite(LED,LOW);   
  delay(1000);             
}
MATERIALES
1 ARDUINO UNO
1 Led 5mm
1 Resistencia 220 ohm
Protoboard
Jumpers

CIRCUITO



Compartir en Google Plus

About habacuc.electronics

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Comentario Blogger
    Comentario Facebook