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

Add support for capacitive display calibration #339

Merged
merged 2 commits into from
Mar 6, 2021

Conversation

ImpulseAdventure
Copy link
Owner

@ImpulseAdventure ImpulseAdventure commented Jan 5, 2021

This enhancement adds support for calibration on capacitive displays.
By default, calibration is only enabled for resistive displays.

In order to use this feature, add the following to your config file: (eg. SECTION 4)

  • #define DRV_TOUCH_CALIB

Then perform the calibration as follows:

  • Run the diag_ard_touch_calib sketch
  • Perform the calibration steps
  • Add the new calibration lines (eg. ADATOUCH_X/Y_MIN/MAX) to SECTION 4 of your config file
  • Run the diag_ard_touch_test sketch to confirm it works

@ImpulseAdventure ImpulseAdventure merged commit 7bc6ddb into master Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant