Today at technology with Mrs Ferguson we coded micro-bits. We coded the micro-bits to mimic a dice, we coded the micro-bit to show different numbers on the dice by shaking the micro-bit. After coding the micro-bit to mimic a dice we coded the micro-bit to count our steps, we had to try many ways, first we coded the micro-bit to count only when one of our legs move, we achieved this by placing the micro-bits in our socks an walking. we had to do this many times and debug the micro-bit but it was all worth it.
Here is my code.


No comments:
Post a Comment
Note: only a member of this blog may post a comment.