Christmas decoration
A simple Christmas decoration that flashes in many colors. For that you will have to use the buttons and the LED of color.
Programming
Here's how to build an angel or a Christmas tree step by step for Christmas. Use the displayed blocks and put them in the correct order and test your code by clicking on .
Step 1: Turn on the LED in green
If I press the button A turns on the LED in green.
Use the following blocks and add them in Kniwwelino My program:
You can test your code.
Step 2: Change the color when you press the B button
If I press the B button then turn on the LED in another color.
Add the following blocks below what you already did in step 1:
Step 3: Turn off the LED
Solution
- Open the solution KniwwelinoBlockly
Crafting
Material
- 1 Kniwwelino
- 1 USB cable
- 1 elastic
- 1 ice cream stick
- Tape
- Scissors
- Glue
- 1 sheet of A4 paper in white or colored
- [optional] 2 other sheets of paper colors
- [optional] glitter, markers, stickers, punch, … all material needed to decorate
- [optional] 1 sheet of tracing paper
- [optional] 1 external battery
Model
Instructions
- Download the template and print it.
- Choose the model of your choice: angel, single fir or three-story fir.
- Follow downloadable instructions
Your turn!
- You can play on the blinking effects of the LED.
- You can play on the brightness of the LED.
- You can use the time to add an effect on the LED and make it change color.
- You can also use the loops to repeat your effect 10 times in a row.
Solution
Downloadable version in Blockly.