vytvorit program ktory vypise text na displej ale pri compilovani mi pise toto
Kód: Vybrať všetko
Build started 5.11.2013 at 17:19:42
avr-gcc -mmcu=atmega8 -Wall -gdwarf-2 -O0 -Wp,-M,-MP,-MT,displej.o,-MF,dep/displej.o.d -c ../displej.c
../displej.c:2:10: #include expects "FILENAME" or <FILENAME>
../displej.c:3:10: #include expects "FILENAME" or <FILENAME>
../displej.c: In function `main':
../displej.c:6: warning: implicit declaration of function `lcd_init'
../displej.c:6: error: `LCD_DISP_ON' undeclared (first use in this function)
../displej.c:6: error: (Each undeclared identifier is reported only once
../displej.c:6: error: for each function it appears in.)
../displej.c:7: warning: implicit declaration of function `lcd_puts'
make: *** [displej.o] Error 1
Build failed with 3 errors and 2 warnings...
Kód: Vybrať všetko
#include <avr/io.h>
#include „lcd.h“
int main(){
lcd_init(LCD_DISP_ON); // inicializacia displeja
lcd_puts("Hello World\nSvetelektro.com"); //vypis text
return 0;
}