Datasheet

242
8018P–AVR–08/10
ATmega169P
23.4 LCD Usage
The following section describes how to use the LCD.
23.4.1 LCD Initialization
Prior to enabling the LCD some initialization must be preformed. The initialization process nor-
mally consists of setting the frame rate, duty, bias and port mask. LCD contrast is set initially, but
can also be adjusted during operation.
Consider the following LCD as an example:
Figure 23-8. LCD usage example.
Display: TN Positive, Reflective
Number of common terminals: 3
Number of segment terminals: 21
Bias system: 1/3 Bias
Drive system: 1/3 Duty
Operating voltage: 3.0 ±0.3V
1b
1c
2a
2b
2c2e
2f
2d
2g
COM3
COM0 COM1 COM2
SEG0
SEG1
SEG2
1b,1c
2c
2f
2a
2d
2g
2b
2e
..
COM2
SEG0
SEG1
SEG2
ATmega169
COM1
COM0
Connection table
LCD
51 50 49
48
47
46
45