//filename: bmp.c //test: int BmpShowAt(int X, int Y, char *fname ,int Color); //for: show text and graphic at the same page #include #include int main() { InitLib(); InitLCD(); if(InitLCD()>0)//initializing LCD Print("\nSomething wrong"); TextOutAt(1,1,"any key to quit"); BmpShowAt(1,15, "a.bmp" , 1); while (!Kbhit()) { BmpShowAt(25, 25, "c.bmp" , 1); BmpShowAt(25, 25 , "d.bmp" , 1); } CloseLCD(); return 0; }