Show pagesourceOld revisionsBacklinksBack to top Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer RedditSend via e-MailPermalink × Table of Contents Best friends wristband Programming Step 1: Showing an image when a button is pressed Step 2: Show different images when button A or B is pressed Step 3: Instead of showing images on your matrix, send them to your friends Solution Crafting of the wristband Needed material Model Instructions To go further Best friends wristband The wristband allows you to send icons or messages to your friends. To program this example you need to use the buttons, the matrix and the messages. Programming You can program the wristband progressively. For each step, add the displayed blocks and put them in the right order. You can then test your program by clicking on . Step 1: Showing an image when a button is pressed You will say to Kniwwelino: « If I press button A then show my image ». Use the following blocks and add them to Kniwwelino loop forever: Step 2: Show different images when button A or B is pressed You will say to Kniwwelino: « If I press button A then show the first image, but if I press button B then show the second image ». Add the following blocks: Step 3: Instead of showing images on your matrix, send them to your friends Create a group for your friends with a secret name like « mySecretFriends ». Only your friends, using the same name as you, will be able to exchange messages with you. You will say to Kniwwelino : « Send my messages only to those Kniwwelinos who use the same group name as myself ». Use the following block at the beginning of your program: Connect your matrix to receive the messages of your friends. You will say to Kniwwelino : « Show on my matrix all images which are send to the group of my friends ». Use the following block at the beginning of your program: Send the images to your friends. You will say to Kniwwelino: « Send the images to my friends ». Delete the violet matrix blocs and replace them with orange messaging blocks. Solution Solution: Best friends wristband or open solution in KniwwelinoBlockly Print versions available for download in Downloads and Links. Crafting of the wristband Needed material 1 piece of cellular rubber 20,5x6cm [optional] 2 small pieces of cellular rubber of a different color minimum 4 brads of 4mm diameter or thread and needle 1 brad of 7 mm diameter or a button Scissors A punch or a cutter Model Model Instructions Download, print and cut the model. Copy the shape of the model on the cellular rubber with a pen and cut it. Attach the Kniwwelino using the brads and the holes of the Kniwwelino. Create two holes on one side of the wristband with the punch. Attach the larger brad on the other side of the wristband. To go further To send a text message to your friends, use the following block: To change the colour of the RGB LED of the Kniwwelinos in your group of friends, use the following blocks: en/instructions/wristband.txt Last modified: 2019/11/13 09:27by kniwwelino Log In