from time import sleep from picozero import pico_temp_sensor while True: print(pico_temp_sensor.temp) sleep(2)