spillerrec wrote:But if you really care about efficiency, program in NBC, NXC compilation just is too inefficient... So using const is probably a better idea.
My guess is: the output NBC code does use const for "magic numbers", as it may need help in figuring out what type the number is (float/int/etc), and optimize better. Or something like that. Nevermind.
I don't really know, but I think the error might be with connecting and transferring the program to the NXT and not the NXC code.
@nxt-ai Does simply compiling to an .rxe work? What have you tried? What did you do (exactly) to get the error?