from machine import TouchPad, Pin
from time import sleep_ms

t = TouchPad(Pin(15))    # Objeto

while True:
    print(t.read())      # Devuelve un número pequeño cuando se toca
    sleep_ms(50)

# Actividad 8.30
# “Sensor táctil interno (táctil capacitivo)”
# Autores:
# Hernández Reyes Alan
# Mirande Matla César
# Octavio Antonio Rodríguez Domínguez
# Fecha:
#	5 de septiembre del 2023.
# Bibliotecas que se requieren:
#    from machine import TouchPad, Pin
#    from time import sleep_ms