import tm1637
from machine import Pin
from time import sleep
tm = tm1637.TM1637(clk=Pin(5),dio=Pin(4))
sw = Pin(34,Pin.IN)
count = 1142
while True:
tm.number(count)
if (sw.value()==0):
count = count+1
sleep(0.1)import tm1637
from machine import Pin
from time import sleep
tm = tm1637.TM1637(clk=Pin(5),dio=Pin(4))
sw = Pin(34,Pin.IN)
count = 1142
while True:
tm.number(count)
if (sw.value()==0):
count = count+1
sleep(0.1)