6. Case 04: Counter¶
Use the Smart Coding Kit to create a wearable counter.
1 x smart coding kit
Programme to show icon while on start and set the variable
ias 0; Set i=i+1 while button A being pressed, Set i=i-1 while button B being pressed. Drag the show digital block to the Forever block and choose to display
iof the value of the variable.
Start counting and displaying the results through button A or B.