Monthly Archives: October 2020

MicroBit Pedometer

This week, I made a pedometer with a MicroBit on Makecode. Here are the process and some pictures.

First, I made a variable; Step. Then, I used the “on shake” block so when I take a step, it will count it. After that, I put “show number; step” in forever so I know how many steps I took. I tested it out by walking around and then realized I needed to change my code because it was only counting half of my steps, so I put in on shake “change step by 2” so whenever I take a step, it will count all of my steps.