lcd显示多幅图片花屏问题
我修改你们提供的2440test\src\LCD_TFT_800x480.c文件如下:
在 Paint_Bmp(0,0,800,480, car_800x480); //paint a bmp//图片1
Uart_Printf( "LCD paint a bmp, please look! press any key to continue! \n" );
Uart_Getch() ; //wait uart input
后加入如下代码:
Paint_Bmp(0,0,800,480, xlogo); //paint a bmp//图片2
Uart_Printf( "LCD paint a bmp, please look! press any key to continue! \n" );
Uart_Getch() ; //wait uart input
Paint_Bmp(0,0,800,480, ylogo); //paint a bmp//图片3
Uart_Printf( "LCD paint a bmp, please look! press any key to continue! \n" );
Uart_Getch() ; //wait uart input
Paint_Bmp(0,0,800,480, ysetup); //paint a bmp图片4
Uart_Printf( "LCD paint a bmp, please look! press any key to continue! \n" );
Uart_Getch() ; //wait uart input
Paint_Bmp(0,0,800,480, xsetdown); //paint a bmp//图片5
Uart_Printf( "LCD paint a bmp, please look! press any key to continue! \n" );
Uart_Getch() ; //wait uart input
之后出现花屏现象,屏幕的下半部分不能正常显示,我是一幅一幅图片往上加的,在加到"图片4”的时候屏幕还可以正常显示,加上图片5之后屏幕的下半部分就花屏了,这是为什么?应该怎样修改才能正常显示?亟待解答。
可以发送到我的邮箱:
bevin_chang@163.com