资 源 简 介
SMC1602A(16*2)模拟口线接线方式
连接线图:
---------------------------------------------------
|LCM-----51 | LCM-----51 | LCM------51 |
--------------------------------------------------|
|DB0-----P0.0 | DB4-----P0.4 | RW-------P2.5 |
|DB1-----P0.1 | DB5-----P0.5 | RS-------P2.6 |
|DB2-----P0.2 | DB6-----P0.6 | E--------P2.7 |
|DB3-----P0.3 | DB7-----P0.7 | VLCD接1K电阻到GND|
---------------------------------------------------
Keyboard接线
PS/2--------51
1 DATA------P3.4
3 GND
4 VCC
5 CLK-------P3.3 接在51的外部中断,触发方式为低电平
本程序源码只供学习参考,不得应用于商业用途,如有需要请联系作者。-SMC1602A (16* 2) analog line port to connect wiring diagram:- | LCM-51 | LCM-51 | LCM 51 | | | DB0-P0.0 | DB4-P0.4 | RW-P2.5 | | DB1-P0.1 | DB5-P0.5 | RS-P2.6 | | DB2-P0.2 | DB6-P0.6 | E P2.7 | | DB3-P0.3 | DB7-P0.7 | VLCD access 1K resistor to GND |-Keyboard Connection PS/2 51 1 DATA P3.4 3 GND 4 VCC 5 CLK-P3.3 access in 51 of the external interrupt trigger mode for low-level source for learning the procedu