加入eeprom驱动,用于保存屏幕触控的校准数据

This commit is contained in:
2021-08-08 14:49:30 +08:00
parent 4e864ed558
commit 30a814adb9
48 changed files with 23871 additions and 11153 deletions
+5
View File
@@ -8,6 +8,7 @@
#include "LCD.h"
#include "windows.h"
#include "touch.h"
#include "eeprom.h"
extern touch_device t0;
@@ -16,8 +17,11 @@ task run_loop;//
void main_app()
{
LCDx_Init();
EPPROM_SLOWWRITE_INIT();
TP_adjustment();
UI *ui=UI_Init(BLACK);
New_Window(ui,10,10,100,100,WHITE,"WHITE");
@@ -44,6 +48,7 @@ void main_app()
}
TP_Server();
EEPROM_SLOWWRITE_SERVER();
}
}