1. Blinking LED

Posted by Erich

Erich's picture

 

// Erich Hacker
// i262 - Assignment 1
 
void setup() {                
 
  pinMode(13, OUTPUT);     
}
 
void loop() {
  digitalWrite(13, HIGH);   // set the LED on
  delay(666);              // wait for a second
  digitalWrite(13, LOW);    // set the LED off
  delay(665);              // wait for a second
}
Erich's Circuit
0
Your rating: None