from utime import sleep
import tm1637
from machine import Pin
tm = tm1637.TM1637(clk=Pin(0), dio=Pin(1))
button1 = Pin(6, Pin.IN, Pin.PULL_UP) #Count up enable internal pull-up resistor
while 1:
if button1.value()==0:
for i in range (0000,9999,100):
tm.number(i)
sleep(0.1)
tm.number(count)