#MonthOfMaking Day 10

#MonthOfMaking Day 10


March 10, 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.

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()

EduBlocks Code

EduBlocks code

MakeCode Code

MakeCode code


Final Words

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

Loading cart ⌛️ ...