Hallo, liebe Lötwillige,
ich habe die aktuelle nibobeelib 1.3 installiert, und will folgenden Fünfzeiler builden:

Code:
#include <nibobee/motpid.h>
int main() 
{
	motpid_init();
	motpid_setSpeed(50,50);
	return 0;
}
Aber ich erhalte folgende Fehlermeldungen:

Code:
Build started 22.1.2011 at 20:33:15
avr-gcc -I"C:\Users\hanno72\Documents\AVRStudioProjects\del-bee-3\..\..\..\..\..\Program Files (x86)\NIBObeeLib\include"  -mmcu=atmega16 -Wall -gdwarf-2 -std=gnu99    -D_NIBOBEE_     -DF_CPU=15000000UL -Os -funsigned-char -funsigned-bitfields -fpack-st
ruct -fshort-enums -MD -MP -MT del-bee-3.o -MF dep/del-bee-3.o.d  -c  ../del-bee-3.c

In file included from ../del-bee-3.c:1:
C:\Users\hanno72\Documents\AVRStudioProjects\del-bee-3\..\..\..\..\..\Program Files (x86)\NIBObeeLib\include/nibobee/motpid.h:66: error: expected ')' before 'immediate'
C:\Users\hanno72\Documents\AVRStudioProjects\del-bee-3\..\..\..\..\..\Program Files (x86)\NIBObeeLib\include/nibobee/motpid.h:76: error: expected ')' before 'left'
C:\Users\hanno72\Documents\AVRStudioProjects\del-bee-3\..\..\..\..\..\Program Files (x86)\NIBObeeLib\include/nibobee/motpid.h:86: error: expected ')' before 'left'
C:\Users\hanno72\Documents\AVRStudioProjects\del-bee-3\..\..\..\..\..\Program Files (x86)\NIBObeeLib\include/nibobee/motpid.h:96: error: expected ')' before 'left'
../del-bee-3.c: In function 'main':
../del-bee-3.c:5: warning: implicit declaration of function 'motpid_setSpeed'
make: *** [del-bee-3.o] Error 1
Build failed with 4 errors and 1 warnings...
Die vier betreffenden Zeilen in motpid.h sind:
Code:
void motpid_stop(uint8_t immediate);
void motpid_setSpeed(int16_t left, int16_t right);
void motpid_setTarget(int16_t left, int16_t right, uint16_t speed);
void motpid_setTargetRel(int16_t left, int16_t right, uint16_t speed);
Kann mir jemand sagen, was ich falsch mache?
Vielen Dank für eine Antwort.

Gruß
Hanno