/*来源:晓奇工作室*/
/*写汉字液晶子程 液晶屏分为4行*12列汉字,全部使用模拟接口方式。
/* CKW19264A接口程序(模拟方式)
液晶模块供应商:广州市盛宝电子有限公司 Tel:020-87592491 Fax:87541571
Email: tinsharp@public.guangzhou.gd.cn
;************************************************************************
;连线图:
;*LCM----S8515* *LCM----S8515* *LCM-----S8515* *LCM-----S8515* *
;*DB0-----PA0* *DB4-----PA4* *D/I------PC6* *CS1------PC4* *
;*DB1-----PA1* *DB5-----PA5* *R/W------PC7* *CS2------PC5* *
;*DB2-----PA2* *DB6-----PA6* *RST------VCC* *CS3------PD2* *
;*DB3-----PA3* *DB7-----PA7* *E--------PC3* *
;注:S8515的晶振频率为4MHz *
;************************************************************************/
#i nclude <io8515.h>
#i nclude <macros.h>
#i nclude <worddot.h> /* 自定义字符点阵码文件,存于include目录下 */
file://#i nclude <math.h> /* 数**算定义,没有使用 */
#pragma interrupt_handler timer:7 /*TC1溢出中断 */
#define Uchar unsigned char