Page Mapping on a TFT LCD Touchscreen

1 year ago
1

Hope this helps, I'll post some code on the forum soon as I can get to it. I'm basically assigning a page number to all of the menu pages. Then when an are is pushed on the touchscreen, you put if statements based on page number. Small example:

if (x and y touch blah blah) {
if (page == 1) {
do page 1 action;
}
if (page == 2) {
do page 2 action;
}
}

Loading comments...