Aus LCD.h: #define LCD_N_CONTR 2 /**< number of controllers display */ #define LCD_LINES 4 /**< number of visible lines of the display */ #define LCD_DISP_LENGTH 27 /**< visibles characters per line of the display */ #define LCD_LINE_LENGTH 0x1A /**< internal line length of the display */ 0x40 #define LCD_START_LINE1 0x00 /**< DDRAM address of first char of line 1 */ #define LCD_START_LINE2 0x40 /**< DDRAM address of first char of line 2 */ #define LCD_START_LINE3 0x00 /**< DDRAM address of first char of line 3 */ #define LCD_START_LINE4 0x40 /**< DDRAM address of first char of line 4 */ #define LCD_WRAP_LINES 1 /**< 0: no wrap, 1: wrap at end of visibile line */ Kompilieren: avr-gcc -g -Wall -O2 -mmcu=atmega16 -c -o lcd.o lcd.c lcd.c: In function `lcd_newline': lcd.c:334: warning: comparison is always false due to limited range of data type lcd.c:338: warning: comparison is always true due to limited range of data type avr-gcc -g -Wall -O2 -mmcu=atmega16 -Wl,-Map,1.map -o 1.elf 1.o lcd.o avr-objdump -h -S 1.elf > 1.lst avr-objcopy -j .text -j .data -O ihex 1.elf 1.hex avr-objcopy -j .text -j .data -O binary 1.elf 1.bin avr-objcopy -j .text -j .data -O srec 1.elf 1.srec avr-objcopy -j .eeprom --change-section-lma .eeprom=0 -O ihex 1.elf 1_eeprom.hex avr-objcopy -j .eeprom --change-section-lma .eeprom=0 -O binary 1.elf 1_eeprom.bin avr-objcopy -j .eeprom --change-section-lma .eeprom=0 -O srec 1.elf 1_eeprom.srec > Process Exit Code: 0