Project 1: Switched and Knobs
For this project, I decided to make a lamp that could switch between playing the Tetris theme song while displaying rainbow lights and a blue ambient glow. To do this I connected a switch by alligator clips to the Circuit Playground Express and used an if-else statement to set the two functions. For the Tetris theme song, I referenced this code: https://makecode.microbit.org/v0/19341-16728-68163-83872
I then printed a variety of Tetris blocks and taped them inside of a mason jar. I had to then make a base in order to hold the switch and hide the cords which can be seen in the final picture. The end result allowed for the printed Tetris blocks to be nicely backlit and the lights shining through the jar to cause an interesting pattern on nearby walls.
Comments