Learning Outcome

At the end of this lesson, you will be able to:

  • understand how to make the Micro:Bit loop over a 3-bit and 4-bit binary number


  • go over 1-bit number
  • loops


  • you will now have 4 different states on 2 different pins to take care of
    • you can no long just use A button pressed or not
    • you will need to use a loop


  • go over a 2, 1-bit number using a loop (see below)

Daily Assignment

  • continue the process that we will do for our final project
    • 2, 1-bit numbers (like below)
    • 2, 2-bit numbers
    • 2, 3-bit numbers
    • 2, 4-bit numbers


  • can you figure out what to do for 2s compliment?
    • form -8 to +7 for example for a 4-bit number