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

📄 xinhaoyuan.c

📁 msp430驱动340*240程序 包括显示图片 文字 以及一些改变字体颜色功能等
💻 C
字号:
#include <at89x52.h>
#include <lcd1602.h>


#include "control.h"
#include"delay.h"
#define uchar unsigned char
#define uint unsigned int

  
 

/*******************************/


void main(void)         
{           	
char i;         

uchar number[]="0123456789ABCDEF" ;
uchar disp[]=  "XXX  channal    ";
uchar code satr0[]={"-This is a LCD-!"};
uchar code satr1[]={"-Design by WRS-!"};


delay(500);         
InitLcd();          


/********闪烁5次***********************/
for(i=0;i<4;i++)        
{           	
WriteCommandLCM(0x01,1);    
delay(500);                       
DisplayListChar(0,0,satr0);  
DisplayListChar(0,1,satr1);  
delay(500); 
i++;    
}
WriteCommandLCM(0x01,1);   
   while(1) 
   {control();}


    
}

⌨️ 快捷键说明

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