main.c.bak

来自「ARM7 不带操作系统的LCD实验原代码」· BAK 代码 · 共 43 行

BAK
43
字号
//**************************************************************//
//                                                              //                                              //
//                         长沙科瑞特电子有限公司               //
//                                 张宏立                       //
//**************************************************************//
#include "..\inc\lcd320.h"
#include "..\inc\44b.h"
#include"..\inc\44blib.h"
#include "..\inc\option.h"
#include"..\inc\def.h"
extern int LCDCurrentPrnTxt;
extern int LCD_start_AddressX;
extern int LCD_txt_Start_Address;
extern int LCD_start_AddressY;
int Main(int argc, char **argv)
{
     	int i;		
	rPCONG=0x5fff;
	rPUPG=0xc0;	 
	rPDATG=0xc0;   
	//Port_Init();
	Led_Display(0x0);
	Delay(2000);
	Led_Display(0x3);
         LCD_Init();
        	while(1)
	{
        LCD_PrintfS('串');
        //LCD_PrintfS(1,0,"Tel:0731-4448056 442309\n");
        //LCD_PrintfS(2,0,"    http://www.hncreate.com\n");
        //LCD_PrintfS(3,0,"    Email:creat@hncreat.com\n");
        Led_Display(0x0);
        Delay(2000);
        Led_Display(0x1);
        Delay(2000);
        Led_Display(0x2);
        Delay(20000);
	}
	return 0;
}


⌨️ 快捷键说明

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