# SCase 09: Countdown ## Purpose Use the Smart Coding Kit to create a countdown machine. ## 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_09_01.png) ## Software [MicroSoftmakecode](https://makecode.microbit.org/#) ## Programming Show the icon while on start and set the variable `i` as 9. While button A being pressed, set the variable `i` as 9. While button B being pressed, start the countdown and display the icon when it comes to 0. ![](./images/smart_coding_kit_case_09_02.png) ### Link Linkļ¼š[https://makecode.microbit.org/_e5CWK5DbUaqY](https://makecode.microbit.org/_e5CWK5DbUaqY) You can also download it direcly below:
## Result Show the icon while on start While button A being pressed, the number 9 displays on the micro:bit While button B being pressed, the countdown starts and number 0 displays on the micro:bit ## Exploration ## FAQ ## Relevant File