Things used in this project

Hardware components:
Microbitheart
BBC micro:bit board
×1
☒XinaBox IM02
×1
Od01 v0.4.11 front grande
☒XinaBox OD01
×1
Sw01 v1.0.0 front grande
☒XinaBox SW01
×1
Md01 v1.0.0 front grande
☒XinaBox MD01
×1
Pb04 v0.4.1 front grande
☒XinaBox PB04
×1
Xbus
☒XinaBox XC10
×1
AA Batteries(Generic)
×2
Software apps and online services:
Cmdscreen2
micro:bit pxt.microbit.org

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

Instasize 0521202021 zymecd9vfj
Brittany Bull
9 projects • 4 followers
A student exploring the world of coding and IoT from a beginners' perspective
Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Add projectSign up / LoginAbout BBC micro:bit