Brittany Bull
Published © MIT

NO Fuss Micro:bit Temperature Monitor

Using the Micro:bit & xCHIPs assembly of this temperature monitor is effortless. Coding is a piece of cake with the blocks of software too!

BeginnerFull instructions provided5 minutes1,923
NO Fuss Micro:bit Temperature Monitor

Things used in this project

Story

Read more

Code

Micro:bit `Temperature Monitor

JavaScript
JavaScript code for Micro:bit Temperature Monitor. You could copy and paste as mentioned in the STORY then convert it to blocks.
let TemperatureCelsius = 0
basic.showLeds(`
    # . . . #
    . # . # .
    . . # . .
    . # . # .
    # . . . #
    `)
OLED.init(64, 128)
weatherbit.startWeatherMonitoring()
OLED.showString("Temperature Project")
TemperatureCelsius = weatherbit.temperature() / 100
basic.forever(() => {
    basic.showString("C:")
    OLED.showString("Temp_C:")
    basic.showNumber(TemperatureCelsius)
    OLED.showNumber(TemperatureCelsius)
})

Credits

Brittany Bull

Brittany Bull

13 projects • 8 followers
A student exploring the world of coding and IoT from a beginners' perspective

Comments