Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[P123] Add FT6206 Capacitive touch screen and [ESPEasy_TouchHandler] helper #4016

Open
wants to merge 197 commits into
base: mega
Choose a base branch
from

Conversation

tonhuisman
Copy link
Contributor

@tonhuisman tonhuisman commented Apr 23, 2022

Add support for FT6206 capacitive touch screen, as installed on the WT32-SC01
Resolves #3993
Resolves #3831

Uses an adapted version of the Adafruit FT6206 Library

Functionality similar to P099 XPT2048 resistive touch screen

Introducing ESPEasy_TouchHandler helper module

  • Define several button shapes and caption types, on/off state and enable/disable
  • Define button groups to form a rudimentary menu system
  • Define Slider/Gauge controls
  • Handle clicking buttons
  • Handle sliding a slider, with 0..100% or min/max value like -10..40 for (room)temperature
  • Handle swiping, that can control the menu system
  • Added an option to disable the scanning of a Touch-screen, to only use the plugin for handling on-screen buttons
  • [P116] Added option for Default font, when AdafruitGFX_Helper has extra fonts included in the build

TODO:

  • Documentation
  • Testing
  • Add support for Button-like functionality, using new ESPEasy_TouchHandler helper
  • Remove [TESTING] tag before merge
  • Handle storing larger configuration (exceeding 1 kB)

platformio_core_defs.ini Outdated Show resolved Hide resolved
platformio_esp32_envs.ini Outdated Show resolved Hide resolved
@tonhuisman tonhuisman changed the title [P123] Add FT6206 Capacitive touch screen [P123] Add FT6206 Capacitive touch screen and [ESPEasy_TouchHandler] helper Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for FT6206 touch screen Add support for WT32-SC01
2 participants