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

📄 9320.c

📁 LCD 9032IC驱动程序 LCD 9032IC驱动程序
💻 C
📖 第 1 页 / 共 5 页
字号:
                  }	}		for(i=0;i<k;i++)	{       for(j=0;j<col;j++)	   {           data_out(rgbB1,rgbB2);               }	}		for(i=0;i<k;i++)	{       for(j=0;j<col;j++)	   {            data_out(rgbC1,rgbC2);             }	}		for(i=0;i<k;i++)	{       for(j=0;j<col;j++)	   {           data_out(rgbD1,rgbD2);              }	}			    for(i=0;i<k;i++)	{       for(j=0;j<col;j++)	   {            data_out(rgbE1,rgbE2);              }	}		for(i=0;i<k;i++)	{       for(j=0;j<col;j++)	   {             data_out(rgbF1,rgbF2);                }	}		for(i=0;i<k;i++)	{       for(j=0;j<col;j++)	   {           data_out(rgbG1,rgbG2);                 }	}		for(i=0;i<k;i++)	{       for(j=0;j<col;j++)	   {           data_out(rgbH1,rgbH2);           }	}			//	for(i=0;i<row%8;i++)	{       for(j=0;j<col;j++)	   {           comm_out(0x00,0x22);           data_out(rgbH1,rgbH2);             }	}}void fillColorLine(unsigned char row,unsigned char col, unsigned char *Graphic){      unsigned char i;    //comm_out(0x21);    //data_out(0x00);    //data_out(0x00);        for(i=0;i<row/2;i++)    {		dispSingleColorLine(col,Graphic);    }    }void Switch(){ repeat:	  if (P2&0x10) goto repeat;   else delay(1);  if (P2&0x10) goto repeat;   else ; }void main(void){ RST=0;delay(200);RST=1;delay(200);                                  comm_out(0x00,0x00);    data_out(0x00,0x01);     comm_out(0x00,0x01);    data_out(0x00,0x01);       comm_out(0x00,0x02);    data_out(0x07,0x00);    comm_out(0x00,0x03);    data_out(0x10,0x30);        comm_out(0x00,0x04);    data_out(0x00,0x00);        comm_out(0x00,0x08);    data_out(0x02,0x02);        comm_out(0x00,0x09);    data_out(0x00,0x00);        comm_out(0x00,0x0a);    data_out(0x00,0x00);        comm_out(0x00,0x0c);    data_out(0x00,0x00);    comm_out(0x00,0x0d);    data_out(0x00,0x00);    comm_out(0x00,0x0f);    data_out(0x00,0x00);    comm_out(0x00,0x10);    data_out(0x00,0x00);    comm_out(0x00,0x11);    data_out(0x00,0x07);    comm_out(0x00,0x12);    data_out(0x00,0x00);    comm_out(0x00,0x13);    data_out(0x00,0x00);    comm_out(0x00,0x10);    data_out(0x17,0xb0); //17b0    comm_out(0x00,0x11);    data_out(0x00,0x07);  //0007    comm_out(0x00,0x12);    data_out(0x01,0x3a);  //013a    comm_out(0x00,0x13);    data_out(0x12,0x00);  //1a00    comm_out(0x00,0x29);    data_out(0x00,0x12);    comm_out(0x00,0x20);    data_out(0x00,0x00);    comm_out(0x00,0x21);    data_out(0x00,0x00);    comm_out(0x00,0x30);    data_out(0x00,0x00);    comm_out(0x00,0x31);    data_out(0x05,0x05);    comm_out(0x00,0x32);

⌨️ 快捷键说明

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