import ntc
from utime import sleep
import tm1637
from machine import Pin
tm = tm1637.TM1637(clk=Pin(0), dio=Pin(1))
while 1:
temp=ntc.read_ntc()
print(round(temp,2),"^C")
tm.temperature(int(temp))
sleep(0.4)
import ntc
from utime import sleep
import tm1637
from machine import Pin
tm = tm1637.TM1637(clk=Pin(0), dio=Pin(1))
while 1:
temp=ntc.read_ntc()
print(round(temp,2),"^C")
tm.temperature(int(temp))
sleep(0.4)