print("Hello, ESP32!")
from machine import Pin, ADC
import time

hor_pin = Pin(4, mode=Pin.IN)
sel_pin = Pin(16, mode=Pin.IN)

vert = ADC(Pin(2, mode=Pin.IN))
hor = ADC(hor_pin)

while True:
    val = vert.read()
    print(val)
    val = hor.read ()
    print (val)
    time.sleep(1)
A4988