1 /* change these definitions to adapt setting */
2 // changed PIN in BIT to avoid confusion, don'use old version
5 /* If the LCD module is a 1 line version with double addressing (8
6 chars by segment), you need to define LCD_LINES to 2 and
7 LCD_DOUBLE_ADDRESSING to 1. This is the case with for example
11 #define LCD_LINES 2 /* visible lines */
12 #define LCD_LINE_LENGTH 0x40 /* internal line length */
13 #define LCD_START_LINE1 0x00 /* DDRAM address of first char of line 1 */
14 #define LCD_START_LINE2 0x40 /* DDRAM address of first char of line 2 */
15 #define LCD_START_LINE3 0x14 /* DDRAM address of first char of line 3 */
16 #define LCD_START_LINE4 0x54 /* DDRAM address of first char of line 4 */
18 #define LCD_DOUBLE_ADDRESSING 1
20 #define LCD_DATA_PORT LCD_PORT /* port for 4bit data */
21 #define LCD_FIRST_DATA_BIT 3
22 #define LCD_RS_PORT LCD_PORT /* port for RS line */
24 #define LCD_RW_PORT LCD_PORT /* port for RW line */
26 #define LCD_E_PORT LCD_PORT /* port for Enable line */