#MonthOfMaking – Day 1

#MonthOfMaking – Day 1

micromag

March 1, 2019

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.

Day01 – Hello World and More

In tradition, I decided to create a Hello World program. When learning a new programming language this will typically be the first program you learn to create, but this literally takes about a minute with a micro:bit. So I have decided to integrate the buttons and display some images too.

Python Code

from microbit import *
display.show(Image.HAPPY)
while True:
    if button_a.is_pressed():
        display.scroll("Hello World")
    elif button_b.is_pressed():
        display.show(Image.HEART)

EduBlocks Code

EduBlocks code

MakeCode Code

MakeCode

Demo

Final Words

That is it for Today, check back Tomorrow to see what I do for Day2.

Kerry Kidd
Editor in Chief