Temp = 0
def on_forever():
global Temp
Temp = input.temperature()
basic.show_number(Temp)
basic.pause(5000)
basic.forever(on_forever)
物联网相关的应用、开发资讯,IoT智能装置和云端结合的技术研究,新鲜事物的分享。
Temp = 0
def on_forever():
global Temp
Temp = input.temperature()
basic.show_number(Temp)
basic.pause(5000)
basic.forever(on_forever)