gott18
28.11.2005, 19:28
Hallo,
wieso meldet AVR-GCC mir hier dauernd
"fh_lcd.h:60: error: parse error before string constant" ?
Danke,
Thomas
#define LCD_DELAY_SEC __asm__ volatile (
"ldi R20, $53 \n\t"
"WGLOOP0: \n\t"
"ldi R21, $FB \n\t"
"WGLOOP1: ldi R22, $FF \n\t"
"WGLOOP2: dec R22 \n\t"
"brne WGLOOP2 \n\t"
"dec R21 \n\t"
"brne WGLOOP1 \n\t"
"dec R20 \n\t"
"brne WGLOOP0 \n\t"
"ldi R20, $02 \n\t"
"WGLOOP3: dec R20 \n\t"
"brne WGLOOP3 \n\t"
"nop \n\t"
::);
wieso meldet AVR-GCC mir hier dauernd
"fh_lcd.h:60: error: parse error before string constant" ?
Danke,
Thomas
#define LCD_DELAY_SEC __asm__ volatile (
"ldi R20, $53 \n\t"
"WGLOOP0: \n\t"
"ldi R21, $FB \n\t"
"WGLOOP1: ldi R22, $FF \n\t"
"WGLOOP2: dec R22 \n\t"
"brne WGLOOP2 \n\t"
"dec R21 \n\t"
"brne WGLOOP1 \n\t"
"dec R20 \n\t"
"brne WGLOOP0 \n\t"
"ldi R20, $02 \n\t"
"WGLOOP3: dec R20 \n\t"
"brne WGLOOP3 \n\t"
"nop \n\t"
::);