//ICC-AVR application builder : 2009-10-1 20:33:38
// Target : M16
// Crystal: 1.0000Mhz
#include <iom16v.h>
#include <macros.h>
/*
1 GND GND
2 VCC VCC
3 VL 对地接1.5KΩ电阻
4 RS PA5
5 RW PA6
6 EP PA7
7 D0 PB0
8 D1 PB1
9 D2 PB2
10 D3 PB3
11 D4 PB4
12 D5 PB5
13 D6 PB6
14 D7 PB7
15 BLA VCC
16 BLK 对地接0Ω电阻
*/
#define RS PA5 //定义数据命令选择
#define RW PA6 //定义读写端
#define EN PA7 //定义使能端
#define uchar unsigned char
#define uint unsigned int
uchar LCD1[]="GAO YAN";
//函数声明
void LCDPort_Init(void); //液晶端口初始化
void LCD_Init(void); //LCD 初始化
void Write_Com(uchar LCD_Com); //LCD 写指令
void Write_Data_Byte(uchar LCD_Data); //LCD 写字节数据
void Write_Place_xy(uchar x,uchar y); //指定当前写字符的位置
void Write_Data_String(uchar x,uchar y,uchar *data);
//在指定的(x&#x