from machine import TouchPad, Pin
from time import sleep_ms
t = TouchPad(Pin(4))
while True:
print(t.read())
if t.read() > 500:
else:
sleep_ms(200)from machine import TouchPad, Pin
from time import sleep_ms
t = TouchPad(Pin(4))
while True:
print(t.read())
if t.read() > 500:
else:
sleep_ms(200)