LCD字符中文显示程序(国外英文资料).docVIP

  • 17
  • 0
  • 约1.14万字
  • 约 30页
  • 2017-06-10 发布于河南
  • 举报

LCD字符中文显示程序(国外英文资料).doc

LCD字符中文显示程序(国外英文资料)

LCD字符中文显示程序(国外英文资料) # define PD1, 6/12/2/2 is divided into two halves (122x32). Unsigned char Column; Unsigned char Page_; / / page address register D1, DO: page address Unsigned char Code_; / / character code registers Unsigned char Command; / / instruction register Unsigned char LCDData; / / data register Unsigned char TMP. Sbit e1 = P3 ^ 3; Sbit e2 = P3 ^ 4; Sbit rw = P3 ^ 1; Sbit a0 = P3 ^ 0; SFR conr = 0 xb0; / * p3 / SFR din = 0 x90; / * thats p1. Unsigned char CWADD1; / / write the code address (E1) Xdata unsigned char DWADD1 _at_ 0x8001 / / write display data address (E1) Xdata unsigne

文档评论(0)

1亿VIP精品文档

相关文档