//Eunice Yuan's BlueEyes_BUT_Green, Oct 29th
int ledGreen = D2;
void setup() {
pinMode(ledGreen, OUTPUT);
}
void loop() {
//ON
digitalWrite(ledGreen, HIGH);
// 1 Second
delay(1000);
//OFF
digitalWrite(ledGreen, LOW);
// 1 Second
delay(1000);
// And repeat
}
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. .