ddllxxrr 发表于 2018-11-7 21:37

MM32F031开发板评测9:显示图像

<div class='showpostmsg'>驱动起来了SPI,就止不住要显摆一下。反正我这个人是这样,虽然是模拟出的SPI。那么我就显示一个吧。

我加了以下的显示函数:
static void LCD_SetPos(unsigned int x0,unsigned int y0,unsigned int x1,unsigned int y1)
{
       Lcd_WriteIndex(0x2A);
   Lcd_WriteData(x0>>8);
   Lcd_WriteData(x0);
   Lcd_WriteData(x1>>8);
   Lcd_WriteData(x1);

   Lcd_WriteIndex(0x2B);
   Lcd_WriteData(y0>>8);
   Lcd_WriteData(y0);
   Lcd_WriteData(y1>>8);
Lcd_WriteData(y1);
       Lcd_WriteIndex(0x2c);
}



void showimage(const unsigned char *p)
{
int i,j,k;
        unsigned char picH,picL;

        for(k=0;k<8;k++)
        {
                   for(j=0;j<6;j++)
                {       
                        LCD_SetPos(40*j,40*k,40*j+39,40*k+39);
                  for(i=0;i<1600;i++)
                       {
                                picH=*(p+i*2+1);
                                picL=*(p+i*2);
                          Lcd_WriteData_16Bit(picH<<8|picL);
                               
                                               
                       }       
               }
        }
               
}



而图片数组为40*40组成的。在STM32中加个const就变成C51中的CODE了。

const unsigned chargImage_ww = { /* 0X00,0X10,0X28,0X00,0X28,0X00,0X01,0X1B, */
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,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F,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0X5B,0XEF,0X98,0XDE,0X56,0XD6,0X57,0XD6,0X57,0XD6,0X56,0XD6,0X77,0XDE,0X1B,0XEF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
};


别看这点程序。也是费了我一番功夫。台上一秒中台下十分钟。
下图为运行结果 :


下一步真得面对硬件驱动了,到底能不能硬起来,且看下贴分解。
</div><script>                                        var loginstr = '<div class="locked">查看本帖全部内容,请<a href="javascript:;"   style="color:#e60000" class="loginf">登录</a>或者<a href="https://bbs.eeworld.com.cn/member.php?mod=register_eeworld.php&action=wechat" style="color:#e60000" target="_blank">注册</a></div>';
                                       
                                        if(parseInt(discuz_uid)==0){
                                                                                                (function($){
                                                        var postHeight = getTextHeight(400);
                                                        $(".showpostmsg").html($(".showpostmsg").html());
                                                        $(".showpostmsg").after(loginstr);
                                                        $(".showpostmsg").css({height:postHeight,overflow:"hidden"});
                                                })(jQuery);
                                        }                </script><script type="text/javascript">(function(d,c){var a=d.createElement("script"),m=d.getElementsByTagName("script"),eewurl="//counter.eeworld.com.cn/pv/count/";a.src=eewurl+c;m.parentNode.insertBefore(a,m)})(document,523)</script>

yangjiaxu 发表于 2018-11-11 21:22

不错奥 直接把工程压缩发出来多好 这么看没什么感觉啊
页: [1]
查看完整版本: MM32F031开发板评测9:显示图像