# Case 04: Counter ## Purpose Use the Smart Coding Kit to create a wearable counter. ## Products Link 1 x [ELECFREAKS micro:bit Smart Coding Watch Kit](https://shop.elecfreaks.com/products/elecfreaks-micro-bit-smart-coding-watch-kit-without-micro-bit-board?_pos=2&_sid=ce4e7cb69&_ss=r) ![](./images/smart_coding_kit_case_04_01.png) ## Software [MakeCodemakecode](https://makecode.microbit.org/#) ## Programming Programme to show icon while on start and set the variable `i` as 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 `i` of the value of the variable. ![](./images/smart_coding_kit_case_04_02.png) ### Link Linkļ¼š[https://makecode.microbit.org/_foxcuohURfzb](https://makecode.microbit.org/_foxcuohURfzb) You may also download it directly below:
## Result Start counting and displaying the results through button A or B. ## Exploration ## FAQ ## Relevant File