Saturday, October 12, 2013

HEART BEAT

void setup() {
  // put your setup code here, to run once:
pinMode(5,OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  delay(800);
 
  digitalWrite(5, HIGH);
  delay(100);
  digitalWrite(5, LOW);
  delay(300);
  digitalWrite(5, HIGH);
  delay(100);
  digitalWrite(5, LOW);
  delay(300);
}


No comments:

Post a Comment