2×20串行字符液晶演示.zip
writer shopping.w include reg52.h define uint unsigned int define uchar unsigned char uchar code prompts Serial LCD DEMO void DelayMS uint ms uchar i while ms for i0i120i void putc to LCD uchar c SBUF c while TI0TI0uchar getc from terminal while RI0RI0return SBUF void wrcmd uchar comm putc to LCD0xfe putc to LCD comm void main uchar i0c TMOD
用户评论