Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| en:instructions:xmasdecoration [2019/01/21 11:24] – [Solution] kniwwelino | en:instructions:xmasdecoration [2019/01/21 11:25] (current) – [Instructions] kniwwelino | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== 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 ==== | ||
| + | Turn off the LED if buttons A & B are clicked at the same time. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | |||
| + | ==== Solution ==== | ||
| + | * <color # | ||
| + | * [[https:// | ||
| + | {{: | ||
| + | |||
| + | ===== 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 ==== | ||
| + | |||
| + | [[ https:// | ||
| + | |||
| + | ==== Instructions ==== | ||
| + | - Download the template and print it. | ||
| + | - Choose the model of your choice: angel, single fir or three-story fir. | ||
| + | - Follow [[https:// | ||
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== 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 [[https:// | ||