Things used in this project

Hardware components:
Microbitheart
BBC micro:bit board
×1
Male/Male Jumper Wires
×1
61vhxtmzbyl
AA Batteries
×1
Software apps and online services:
Screen shot 2017 06 26 at 3 41 02 pm sfoohotutu
Microsoft MakeCode
mucode editor

Code

Javascript codeJavaScript
let item = 0  
basic.forever(() => {  
    item = input.temperature()  
    basic.showNumber(item)  
})  
MicroPython CodeMicroPython
from microbit import *  
while True:  
   temp = temperature()  
   display.scroll(str(temp) + 'C')  
   sleep(500) 

Credits

Dv02qg8c 1b5m7ruhek
Anish Ansari
3 projects • 11 followers
YouthSpark Advocate and MSP
Contact

Comments

Add projectSign up / Login