Config Lcdpin = Pin , Db4 = P2.0 , Db5 = P2.1 , Db6 = P2.2 , Db7 = P2.3 , E = P2.4 , Rs = P2.5

Post on 30-Dec-2015

24 views 0 download

description

Config Lcdpin = Pin , Db4 = P2.0 , Db5 = P2.1 , Db6 = P2.2 , Db7 = P2.3 , E = P2.4 , Rs = P2.5 Config Lcd = 16 * 2 Cursor Off. Cls 'Clear the LCD display Lcd "ET-ROBOTRD2 V1.0" 'Display this at the top line - PowerPoint PPT Presentation

Transcript of Config Lcdpin = Pin , Db4 = P2.0 , Db5 = P2.1 , Db6 = P2.2 , Db7 = P2.3 , E = P2.4 , Rs = P2.5

R E S

E A

V c c

P 2 .0P 2 .1P 2 .2P 2 .3P 2 .5P 2 .4

2 32 22 1

2 62 52 4

E N R S D 7 D 6 D 4D 5 D 3 D 2 D 1 D 0 R /W

V c c

V RR 1 0 K

V c c

V o

G N D

V c c

R x D / P 3 .0

T x D / P 3 .1

1 0

11T x /R x

M o d u leR x

T x

L C D M O D U L E

P89C51RD2

Config Lcdpin = Pin , Db4 = P2.0 , Db5 = P2.1 , Db6 = P2.2 , Db7 = P2.3 , E = P2.4 , Rs = P2.5

Config Lcd = 16 * 2Cursor Off Cls 'Clear the LCD display Lcd "ET-ROBOTRD2 V1.0" 'Display this at the top line Lowerline 'Select the lower line Lcd "BY...ETT CO.,LTD"