Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:instructions:wristbandv2 [2018/02/19 14:42]
kniwwelino
en:instructions:wristbandv2 [2018/02/21 16:29] (current)
kniwwelino
Line 1: Line 1:
 +===== Best friends wristband version 2 =====
 +This variant of the best friends wristband will allow you to predefine a list of icons or messages.
  
 +With button A you can navigate in the list of icons and messages.
 +With button B you can send the selected icon or message.
 +
 +{{ :fr:instructions:wristband:img_0337.jpg?direct&400 |}}
 +
 +==== Programming ====
 +
 +  * Add a variable to indicate which icon is selected. It needs to be initialised in ''Kniwwelino on start:''. You can use it later in ''Kniwwelino repeat forever''.
 +
 +{{:en:instructions:wristbandv2_01.png?direct|}}
 +
 +  * Create an own group and connect the matrix as in the first version of the wristband.
 +
 +{{:en:instructions:wristband05.png?direct|}}
 +
 +{{:en:instructions:wristband06.png?direct|}}
 +
 +  * When button A is pressed you increase the variable ''value'' and show on the matrix which icon is selected.
 +
 +{{:en:instructions:wristbandv2_02.png?direct|}}
 +
 +  * When button B is pressed you send the icon which was selected.
 +  * To show who has sent the last message you can define an own color for each of the friends. When she/he sends the message, the LED of the message receivers will light in that color. Don't forget to connect the LED to make it work.
 +
 +{{:en:instructions:wristband10.png?direct|}}
 +
 +{{:en:instructions:wristband11.png?direct|}}
 +
 +=== Hints ===
 +  * To add ''else'' or ''else if'' to a condition use the options which are available when clicking on the ''+'' on the block. Drag and drop them to the right according to your needs.
 +  * Make sure to use the blocks in '' Matrix '' to select the icon to send, but to also use the blocks in '' Messages '' to send the selected icon.
 +
 +=== Solution ===
 +{{:en:instructions:wristbandv2_solutiona.png?direct|}}
 +{{:en:instructions:wristbandv2_solutionb.png?direct|}}
 +{{:en:instructions:wristbandv2_solutionc.png?direct|}}
 +
 +==== Crafting ==== 
 +You can follow the instructions as in [[en:instructions:wristband|]].
  • en/instructions/wristbandv2.txt
  • Last modified: 2018/02/21 16:29
  • by kniwwelino