主题 : lcd显示多幅图片花屏问题(bin大于2.5M会出问题) 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 38216
精华: 0
发帖: 19
金钱: 95 两
威望: 19 点
综合积分: 38 分
注册时间: 2011-02-23
最后登录: 2011-03-31
楼主  发表于: 2011-03-30 08:30

 lcd显示多幅图片花屏问题(bin大于2.5M会出问题)


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
级别: 新手上路
UID: 38706
精华: 0
发帖: 3
金钱: 15 两
威望: 3 点
综合积分: 6 分
注册时间: 2011-02-28
最后登录: 2011-08-08
1楼  发表于: 2011-03-30 08:46
我也有同样的问题啊,请高手帮忙解决。