0% found this document useful (0 votes)
19 views2 pages

Tinkercad Circuit Code Example

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)
19 views2 pages

Tinkercad Circuit Code Example

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

Screenshot Of The Circuit:

Code:
// C++ code
//
void setup()
{
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
pinMode(12, OUTPUT);
pinMode(13, OUTPUT);
}

void loop()
{
digitalWrite(8, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(8, LOW);
digitalWrite(9, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(9, LOW);
digitalWrite(10, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(10, LOW);
digitalWrite(11, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(11, LOW);
digitalWrite(12, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(12, LOW);
digitalWrite(13, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(13, LOW);
digitalWrite(8, HIGH);
}

Link To The Circuit On Tinker Card:


[Link]
hango/editel?returnTo=https%3A%2F%[Link]%2Fdashboard&share
code=HvDIsEJeyfzGTbN_1d-njfjJIli9XJgzOo-82YzhW4o

You might also like