import tm1637
from machine import Pin, ADC
from time import sleep
pot = ADC(Pin(34))
pot.atten(ADC.ATTN_11DB) #Full range: 3.3v
a=5
while True:
pot_value = pot.read()
tm = tm1637.TM1637(clk=Pin(19), dio=Pin(18))
tm.number(pot_value)
import tm1637
from machine import Pin, ADC
from time import sleep
pot = ADC(Pin(34))
pot.atten(ADC.ATTN_11DB) #Full range: 3.3v
a=5
while True:
pot_value = pot.read()
tm = tm1637.TM1637(clk=Pin(19), dio=Pin(18))
tm.number(pot_value)