import machine
import random
import time
import tm1637
display = tm1637.TM1637(clk=machine.Pin(16), dio=machine.Pin(17))
display.scroll("Pico Thermometer", delay=200)
time.sleep(1)
display.show(' ')
time.sleep(1)
temp = random.randrange(10,15)
while True:
temp = random.randrange(10,25)
display.temperature(temp)
time.sleep(10)