Hallo

Das scheint ein Bug von NXC zu sein, irgendein Problem mit Hex-Zahlen:

http://forums.nxtasy.org/index.php?s...t=0#entry26437

Entweder das "const" weglassen:

int NXTServo_VBatt
...
NXTServo_VBatt = 0x41;

..oder die Werte dezimal angeben:

const int NXTServo_VBatt = 65;

Oder, wie im Link empfohlen, updaten:

http://bricxcc.sourceforge.net/test_release.zip

Ich hoffe das stimmt so, ich habe kein NXT.

Gruß

mic