?? main.c
字號:
//**************************************************************//
// // //
// 長沙科瑞特電子有限公司 //
// 張宏立 //
//**************************************************************//
#include "..\inc\lcd320.h"
#include "..\startup\44b.h"
#include"..\inc\44blib.h"
#include "..\startup\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_txt_Start_Address=1;
LCDCurrentPrnTxt=1;
LCD_Printf(" Changsha Create Electornic CO.,LTD\n");
LCDCurrentPrnTxt++;
LCD_Printf(" Tel:0731-4448056 4423091\n");
LCDCurrentPrnTxt++;
LCD_Printf(" http://www.hncreate.com\n");
LCDCurrentPrnTxt++;
LCD_Printf(" Email:creat@hncreat.com\n");
Led_Display(0x0);
Delay(2000);
Led_Display(0x1);
Delay(2000);
Led_Display(0x2);
}
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -