Back to Parent

//Exercise 1.1
int led = D2;

void setup() {
    
    pinMode( led, OUTPUT ); 
}

void loop() {
    
    digitalWrite( led, HIGH );
    delay( 3000 );
    //Delay 3 second
    
    digitalWrite( led, LOW );
    delay( 3000 );
    //repeat
}
Click to Expand

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0