Tag: #micro_mag

#MonthOfMaking Day 3

March is all about MAKING!! I have decided to take on the challenge of making a 5 minute micro:bit make everyday throughout March. Day03 – Count Down Timer Today I have decided to make a countdown timer. The timer will count up to 20 when button A is pressed and the timer will start counting down from what ever number you chose between 1 and 20 when button B is pressed. Lets get coding! Python…

micromag

March 3, 2019

#MonthOfMaking – Day 2

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. Day02 – Random Number Generator Today I decided to make a random number generator. The random number generator will generate a number between 1 and 5 and dsiplay it on the micro:bit. Lets get coding! Python Code from microbit import * import random display.scroll(“Shake Me”) while True: if accelerometer.was_gesture(‘shake’): shake = random.randint(1,…

micromag

March 2, 2019

#MonthOfMaking – Day 1

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…

micromag

March 1, 2019

Loading cart ⌛️ ...