TinkerCAD Wesbite Home screen ---> Sigin ---> Personal Accounts ---> Join with GOOGLE Account ---> + Create ---> Circuits
(on Right pane)---> click Basic ---> Arduino ---> Blink
// C++ code
//
/*
This program blinks pin 13 of the Arduino (the
built-in LED)
*/
void setup()
{
pinMode(LED_BUILTIN, OUTPUT);
}
void loop()
{
// turn the LED on (HIGH is the voltage level)
digitalWrite(LED_BUILTIN, HIGH);
delay(1000); // Wait for 1000 millisecond(s)
// turn the LED off by making the voltage LOW
digitalWrite(LED_BUILTIN, LOW);
delay(1000); // Wait for 1000 millisecond(s)
}