Back to Parent

const int LEDPIN0 = D0;

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

void loop() {
    //Ex.2
     for(int i = 0; i < 5; i++){
         digitalWrite(LEDPIN0, HIGH);
         delay(500);
         digitalWrite(LEDPIN0, LOW);
         delay(500);
     }
     delay(2500);
}
Click to Expand

Content Rating

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

0