Accessing Open Source Code and using it in Tinkercad Circuits
Now try finding some open source code and modifying it to work on Tinkercad Circuits.
Google "Arduino switch tutorial" to find the link below:
https://www.arduino.cc/en/tutorial/switch
Cut and paste the switch code into your circuit code window.
Create a circuit board using pin locations to match the switch and LED locations from the code.
Run the simulation.
Try it with a push button switch and then a slide switch.
Does it work how you expected it to?
If you have not got access to the Arduino IDE Software and equipment, you can now go and try one of the other activities in the student workshop.
If you have access to the Arduino software and equipment you can continue to the practical workshop by following this link