Beruflich Dokumente
Kultur Dokumente
The Schematic Upload to your board and watch as "hello, world!" is shown on your display. If
no message is displayed the contrast may need to be adjusted. To do this turn
Potentiometer
the potentiometer.
gnd
(ground) (-) Library Summary
(here's a summary of the LCD library for a full reference visit http://tinyurl.com/krcarl )
1 LiquidCrystal(rs, rw, enable, d4, d5, d6, d7) - create a new
1
Data 3 pin 5 setCursor(col, row) - moves the cursor to column col and row row
Data 4
Data 5 pin 4 write(data) - writes the char data to the display
Data 6
Data 7 pin 3 print(data) - prints a string to the display
(5v)
pin 2
Technical Details
(gnd)
16
.: Summary LCD Datasheet: http://tinyurl.com/met7ol :.
.: Full LCD Datasheet: http://tinyurl.com/lmjxad :.
1 V+ to 5v 1
2 2
3 gnd 3
4 4
5 5
6 6
1
Vss7(gnd) 7
Vdd8 (5v) 8
Vo (contrast)
9 9
10 RS to pin 12 10
11 R/W 11
Enable
12 to pin 11 12
Data 0
13 13
Data 1
14 14
Data 2
15 15
Data 3
16 16
Data 4
17 to pin 5 17
Data 5
18 to pin 4 18
Data 6
19 to pin 3 19
Data 7
20 to pin 2 20
B/light
21 (5v) 21
22 (gnd) 22
16
23 23
24 24
25 25
26 CIRC-18
26
27 Showing27
Text
28
(LCD Displays)
28
29 29
30 30
A B C D E F G H I J