from tm1637 import TM1637
from machine import Pin
from utime import sleep
from random import randint
seg = TM1637(clk=Pin(0), dio=Pin(1))
seg1 = TM1637(clk=Pin(6), dio=Pin(7))

while 1:
    i=randint(-999,9999)
    seg.number(i)
    seg1.number(int(i/10))
    sleep(0.4)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT
4-Digit Display
4-Digit Display