Callback based driver for touchpads

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Callback based driver for touchpads

Post by pythoncoder » Wed Jul 20, 2022 9:17 am

I have extended my uasyncio-based Pushbutton class to support ESP32 touchpads. See this doc.

This enables callbacks to run on any or all of these conditions:
  • Touch event.
  • Release event.
  • Double-touch.
  • Long press.
Rather to my surprise these touch pads seem to be reliable and effective.
Peter Hinch
Index to my micropython libraries.

Post Reply