-Refractored CheckKey in xpt2046.c to UI.c
-Fixed White BG issue in Dark mode
UI.c : contains functions related to user interface, When adding new UI:
add a new void function in UI.c & UI.h
update the switch in Render in UI.c
Update the Do while loop in main.c
UI_buttons: contains constant arrays of constraints determining each button positions
lcdtp.c : variable darkmode_toggle added. Now draw functions without _color at the end should draw pixels with black and white (depending on darkmode_toggle)
XPT2046.c : Added function
XPT2046_Reset_TouchPoint(strType_XPT2046_Coordinate*) for purpose of main flow control
Commented Line 399 temporary for unknown hard fault
-Refractored CheckKey in xpt2046.c to UI.c -Fixed White BG issue in Dark mode
UI.c : contains functions related to user interface, When adding new UI:
UI_buttons: contains constant arrays of constraints determining each button positions
lcdtp.c : variable darkmode_toggle added. Now draw functions without _color at the end should draw pixels with black and white (depending on darkmode_toggle)
XPT2046.c : Added function XPT2046_Reset_TouchPoint(strType_XPT2046_Coordinate*) for purpose of main flow control Commented Line 399 temporary for unknown hard fault