from machine import Pin, ADC
import time
pot = ADC(26)
while True:
pot_value = pot.read_u16()
print(pot_value)
time.sleep(0.5)from machine import Pin, ADC
import time
pot = ADC(26)
while True:
pot_value = pot.read_u16()
print(pot_value)
time.sleep(0.5)