⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 disp_pic.c

📁 使用ARM2200平台
💻 C
字号:
#include  "config.h"

// 声明外部图片数据

extern uint8  gImage_pic1[];
extern uint8  gImage_pic2[];



// 显示图片1
void  Disp_Pic1(void)
{  uint16 x, y;
   uint16  no;
   uint16  dat;
   
   TftSetWrite(0,0);
   no = 0;
   for(y=0; y<320; y++)
   {  for(x=0; x<240; x++)
      {  dat = (gImage_pic2[no+1]<<8) | gImage_pic2[no];
         TftSendDat(dat);
         no++; 
         no++;         
      }
   }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -