include Calibration settings in main sketch #363
Answered
by
ImpulseAdventure
JosekeyRandom
asked this question in
Q&A
-
Good morning, could you include the calibration parameters in the main code of the arduino ide? Is there any way to do it?
Thank you very much for the great library. |
Beta Was this translation helpful? Give feedback.
Answered by
ImpulseAdventure
Mar 18, 2021
Replies: 1 comment 4 replies
-
Hi @JosekeyRandom -- Yes, you can define the calibration within your sketch. Here is an example: gslc_SetTouchRemapCal(&m_gui, nXMin, nXMax, nYMin, nYMax);
gslc_SetTouchRemapYX(&m_gui, nRemapYX);
gslc_SetTouchRemapEn(&m_gui, true); |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
ImpulseAdventure
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @JosekeyRandom --
Yes, you can define the calibration within your sketch.
Here is an example: