hi ,
kriege folgende Fehlermeldung .. kann sie leider nicht interpretieren .. kann mir vielleicht jemand sagen wo der fehler ist ..
die zeilen sind gemeint :
Code:
left=(float)(lineData[LEFT]&1023);
right=(float)(lineData[RIGHT]&1023);
die fehlermeldunge kriege ich :
Code:
In file included from test.c:14:
follow_bib.h: In function 'setspeed':
follow_bib.h:69: warning: implicit declaration of function 'Gettime'
follow_bib.h: In function 'photosensoren_auslesen':
follow_bib.h:210: error: 'LEFT' undeclared (first use in this function)
follow_bib.h:210: error: (Each undeclared identifier is reported only once
follow_bib.h:210: error: for each function it appears in.)
follow_bib.h:211: error: 'RIGHT' undeclared (first use in this function)
follow_bib.h: In function 'countTicks':
follow_bib.h:279: warning: implicit declaration of function 'OdometryData'
test.c: In function 'followline':
test.c:160: error: 'LEFT' undeclared (first use in this function)
test.c:162: error: 'RIGHT' undeclared (first use in this function)
test.c:164: error: 'CENTER' undeclared (first use in this function)
test.c:285: warning: implicit declaration of function 'PrintInt'
test.c:286: warning: implicit declaration of function 'SerPrint'
test.c: In function 'main':
test.c:337: warning: implicit declaration of function 'Msleep'
test.c:338: error: 'LEFT' undeclared (first use in this function)
test.c:345: error: 'RIGHT' undeclared (first use in this function)
make: *** [test.o] Error 1
ExitCode 2
mfg tim
Lesezeichen