#MonthofMaking Day 9

#MonthofMaking Day 9

March is all about MAKING!!

I have decided to take on the challenge of making a 5-minute micro:bit make every day throughout March.

Day09 – Fill The Screen

Today I have decided to use the built-in compass to turn the lights on the LED screen on by tilting the micro:bit. Let’s get coding!

Python Code

from microbit import *
while True:
    needle = ((15 - compass.heading()) // 30) % 12

EduBlocks Code

EduBlocks code


Final Words

Come back Tomorrow for another fun 5-minute micro:bit make