top of page
Blink 1 Code

//LED Blink  Turns an LED on and off for one second.
 
int led1 = 7;
//tells which pin is connected to the LED

void setup( ) {               
pinMode(led1, OUTPUT);
// sets up the pin as an output
}
 
void loop() {
digitalWrite(led1, HIGH);
//turn LED on
delay(1000);// wait for 1000 milliseconds (one second)
digitalWrite(led1, LOW);//turn LED off
delay(1000);//wait one second
}

Igniting Innovation through Functional Prototyping and Physical Computing

Contact Information

odysseyboardedu.@gmail.com
Phone: (360) 303-5526
24338 Lee Road
Mount Vernon, WA 98274

Contact Us

Thanks for submitting!

© 2017 by Odyssey Board. All rights reserved.

bottom of page