Add a Feature to Reset the Counter

Create Version 3 of your app where you can reset the count to zero.

Step 1

Feedback from your users say they want to be able to reset the counter without having to turn off the micro:bit. 

Speak with your partner about a way you could make this change. 

Step 2

Update your code so that when button A and B are pressed at the same time, the count is reset to zero. 

Think about which blocks you could use. Don’t forget to use the drop-down menus in each block.

Step 3

Test your solution on the simulator.

Download your code onto the micro:bit and test it.