← index #8511Issue #4313
Off-topic · high · value 1.702
QUERY · ISSUE

machine.TouchPad should be documented

openby mattytrentiniopened 2022-04-09updated 2023-10-30
docs

machine.TouchPad, implemented in machine_touchpad.c for the esp32 port, is only documented in the ESP32 Quick Ref: Capacitive touch.

It should also have a machine.TouchPad entry.

CANDIDATE · ISSUE

Touch Pad Error

closedby Singeinopened 2018-11-21updated 2018-11-21

Touch pad error


>>> import machine
>>> from machine import Pin
>>> t = machine.TouchPad(Pin(32))
>>> t.read()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Touch pad error

Originally posted by @Fuermohao in https://github.com/micropython/micropython/pull/3531#issuecomment-440129205

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied