Gast
#4427844
Hallo, ich brauche mal ein paar mehr Augen. Ich bin dabei mir eine Bib für den HD44780 zu schreiben. Das klappt soweit ganz gut, nur ein kleines Problem taucht auf: Error implicit declaration of function 'lcd_command' [-Werror=implicit-function-declaration] 61 Message previous implicit declaration of 'lcd_command' was here 61 Warning no previous prototype for 'lcd_command' [-Wmissing-prototypes] 131 Vielleicht ist es banal aber ich steh hier scheinbar auf dem Schlauch. Normalerweise sagt das doch aus, dass die Funktion vor ihrem Aufruf nicht bekannt ist. Ich habe sie aber im headerfile bekannt gemacht. Warum kappiert der das nicht? Wo steckt denn hier der Fehler?
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
HD44780.c
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |