from machine import Pin,ADC
from utime import sleep
from segment7 import disp7
sleep(0.1)
pot=ADC(Pin(26))
while 1:
val=pot.read_u16()
valnorm=val/65535*99
disp7(valnorm)
sleep(0.2)
from machine import Pin,ADC
from utime import sleep
from segment7 import disp7
sleep(0.1)
pot=ADC(Pin(26))
while 1:
val=pot.read_u16()
valnorm=val/65535*99
disp7(valnorm)
sleep(0.2)