0% found this document useful (0 votes)
22 views3 pages

1690 Lab02

Uploaded by

Châu Trần
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views3 pages

1690 Lab02

Uploaded by

Châu Trần
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

// C++ code

//

void setup()

pinMode(12, OUTPUT);

pinMode(11, OUTPUT);

pinMode(13, OUTPUT);

void loop()

digitalWrite(12, HIGH);

delay(3000); // Wait for 3000 millisecond(s)

digitalWrite(12, LOW);

delay(1000); // Wait for 1000 millisecond(s)

digitalWrite(11, HIGH);

delay(1000); // Wait for 1000 millisecond(s)

digitalWrite(11, LOW);

delay(1000); // Wait for 1000 millisecond(s)

digitalWrite(13, HIGH);

delay(3000); // Wait for 3000 millisecond(s)

digitalWrite(13, LOW);

delay(1000); // Wait for 1000 millisecond(s)

}
https://www.tinkercad.com/things/4DAKXWMTfTe-funky-esboo-jaiks/editel?tenant=circuits

You might also like