优化窗口移动的逻辑,显示还是有问题,需要继续优化
This commit is contained in:
@@ -16,6 +16,7 @@ task run_loop;//
|
||||
|
||||
void main_app()
|
||||
{
|
||||
char str[64];
|
||||
LCDx_Init();
|
||||
EPPROM_SLOWWRITE_INIT();
|
||||
|
||||
@@ -34,6 +35,8 @@ void main_app()
|
||||
while(1)
|
||||
{
|
||||
LCD_set_dot(t0.pix_x, t0.pix_y, RED);
|
||||
sprintf(str,"%04d\n%04d\n%04d",t0.pix_x,t0.pix_y,t0.c);
|
||||
LCD_ShowString(0, 0, &str, 16, RED, BLUE);
|
||||
/*
|
||||
switch(run_loop.sw)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user