Tag: #micro_mag

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. Day13 – Scrolling Name Badge Today we are going back to basics and making a scrolling text name badge. Let’s get coding! Python Code from microbit import * while True: display.scroll(“RaspiKidd”) EduBlocks Code MakeCode Code Demo Final Words Come back Tomorrow for another fun 5-minute micro:bit make

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. Day12 – Hide and seek Today I am going to use the built-in radio feature on the micro:bit to make a hide and seek game. Let’s get coding! MakeCode Code Hiding micro:bit Seeking micro:bit Demo Final Words Come back Tomorrow for another fun 5-minute micro:bit make

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. Day11 – Sending Messages Today I am going to use the built-in radio feature on the micro:bit to send messages. Let’s get coding! Python Code from microbit import * import radio radio.on() while True: if button_a.is_pressed(): radio.send(“Hello World”) incoming = radio.receive() if incoming = “Hello World”: display.scroll(“Hello World”) EduBlocks Code MakeCode Code…

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. Day10 – Temperature Sensing Today I am going to use the built-in temperature sensor on the micro:bit to get the current temperature of the room I am in. Let’s get coding! Python Code from microbit import * while True: if accelerometer.is_gesture(‘shake’): temp = temperature() display.scroll(temp) EduBlocks Code MakeCode Code Demo Final Words…

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 * compass.callibrate() while True: needle = ((15 – compass.heading()) // 30) % 12 display.show(Image.ALL_CLOCKS[needle]) EduBlocks Code Demo…