Step counter

1. Every time we shake the microbit (when we take a step) microbit will change variable steps by one.



2. Microbit shows how how many steps you have taken

 

3. We want to reset steps sometimes. Button A is good for that. 




4. Now microbit takes steps only from your one leg. Lets change the code so it will count both legs.



Extra: 

Code microbit to be happy if you take more than 200 steps.