import tm1637
from machine import Pin
from utime import sleep
mydisplay = tm1637.TM1637(clk=Pin(0), dio=Pin(1))

while True:

    # Show a word
    mydisplay.show("TYIT")
    sleep(1)

    # Show a word 
    mydisplay.scroll("NIRAJ")
    sleep(1)

    #show scrolling text
    mydisplay.show("114")
    sleep(1)

    #show temperature
    mydisplay.temperature(34)
    sleep(1)

    #adjust the brightness to make it loewr
    for x in range(8):
        mydisplay.brightness(x)
        print(x)
        sleep(1)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT
4-Digit Display