STK502 LCD Bit Mapping

Figure 1. Layout for the STK502 LCD-display

The LCD Data Registers (LCDDRx) in the ATmega169 are organized in groups accord- ing to the use of Backplane Control Lines (also known as Common Lines). The LCD on the STK502 uses all four Common Lines and all 25 segments, in total 4 x 25 = 100 seg- ments. As can be seen in the LCD data sheet (Figure 1) describing the internal connection of pins, Common Lines and segments, the alphanumeric digits are referred to with a number according to where they are located on the LCD. Listed below is a description of the STK502 bit mappings according to this.