ADD FLASH(flash.h flash.cpp flash_def.h flash_cfg.h flash_sfdp.cpp)
ADD RunTimer(log.h ticks.h ticks.cpp) ADD sim_key form sdl
This commit is contained in:
@@ -131,16 +131,16 @@ int Test_OLED(void *pVoid) {
|
||||
// OLED_ShowPic(&oled, 0, 0, 64, 64, BMP1);
|
||||
OLED_Refresh(&oled);
|
||||
_beginthread(Get_Key, 0, NULL);
|
||||
pageinit();
|
||||
// pageinit();
|
||||
while (1) {
|
||||
if (pageid > 4)pageid = 0;
|
||||
item_h = pagesearch(pageid).item_h;
|
||||
item_w = pagesearch(pageid).item_w;
|
||||
// pagesearch(pageid).page(&oled);
|
||||
// sprintf(buf, "DATA:%d", s);
|
||||
// OLED_ShowString(&oled, 2, 51, buf, 12);
|
||||
OLED_Refresh(&oled);
|
||||
Sleep(200);
|
||||
// if (pageid > 4)pageid = 0;
|
||||
// item_h = pagesearch(pageid).item_h;
|
||||
// item_w = pagesearch(pageid).item_w;
|
||||
//// pagesearch(pageid).page(&oled);
|
||||
//// sprintf(buf, "DATA:%d", s);
|
||||
//// OLED_ShowString(&oled, 2, 51, buf, 12);
|
||||
// OLED_Refresh(&oled);
|
||||
// Sleep(200);
|
||||
}
|
||||
SIM_OLED_STOP();
|
||||
}
|
||||
|
Reference in New Issue
Block a user