Changing Lights

In this I am going to show you how to make a light change color by using a microbit.
Supplies

All you need is tinkercad. Or you can make it in real life.
Micro Bit

The first step is to just get a micro bit.
Light and Resist

Now you need to get a resistor and connect it to the part of the micro bit that says GND.
Then get a LED RGB light and put it under the micro bit.
Wires


Then connect wires to the LED and the resistor like in the picture.
You also need to click on the resistor and make the resistance 120. Then change the symbol like in the picture.
Code

Then click the code button and code it exactly how I did.
Finished
Now just click start simulation and watch the colors change.