PaimonLumine / ELEC3300-Project

2022 Fall ELEC 3300 Project
2 stars 1 forks source link

Change: #1

Closed marso1234 closed 2 years ago

marso1234 commented 2 years ago

-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:

  1. add a new void function in UI.c & UI.h
  2. update the switch in Render in UI.c
  3. 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