Show pagesourceOld revisionsBacklinksBack to top Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer RedditSend via e-MailPermalink × Table of Contents Christmas decoration Programming Step 1: Turn on the LED in green Step 2: Change the color when you press the B button Step 3: Turn off the LED Solution Crafting Material Model Instructions Your turn! Solution 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 Open the solution KniwwelinoBlockly Download version 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 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. en/instructions/xmasdecoration.txt Last modified: 2019/01/21 11:25by kniwwelino Log In