//Setup variables
int led = D2;
void setup() {
pinMode( led, OUTPUT );
// D2 is the out put pin
}
void loop() {
digitalWrite( led, HIGH );
delay( 3000 );
//delay( 3000 ); - Delay 3 second
digitalWrite( led, LOW );
delay( 3000 );
//repeat blinking
}
Click to Expand
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .