加入eeprom驱动,用于保存屏幕触控的校准数据
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user