from machine import Pin
import utime
green_led=Pin(10,Pin.OUT)
yellow_led=Pin(11,Pin.OUT)
red_led=Pin(12,Pin.OUT)
pot_pin=Pin(28,Pin.OUT)
pot_val= pot_pin.read()
Range=(100/65535)*pot_val
while True:
    print(pot_val)
from machine import Pin
import utime
green_led=Pin(10,Pin.OUT)
yellow_led=Pin(11,Pin.OUT)
red_led=Pin(12,Pin.OUT)
pot_pin=Pin(28,Pin.OUT)
pot_val= pot_pin.read()
Range=(100/65535)*pot_val
while True:
    print(pot_val)