void setup() { // initialises the program pinMode(D9, OUTPUT);//assign pin D10 as an output } // the loop function runs over and over again forever void loop() { //runs program over and over until stopped digitalWrite(D9, HIGH); // turn the LED on delay(1000); // wait for one second digitalWrite(D9, LOW); // turn the LED off delay(1000); }