Micro:bit温度监测代码 Temp = 0 def on_forever(): global Temp Temp = input.temperature() basic.show_number(Temp) basic.pause(5000) basic.forever(on_forever) Post Views: 1,493