Sign up ×
LEGO® Answers is a question and answer site for LEGO® and building block enthusiasts. It's 100% free, no registration required.

I want to set PID parameters for a faster 'attack' when using PosRegEnablePID() on a motor. I am compiling with nbc/nxc 1.2.1 r4 mac osx fatbinary using -Z2 and -EF flags.

But the compiler says:

# Error: Undefined Identifier PosRegEnablePID

How can I set PID parameters for PosReg?


compiles just fine...

share|improve this question
I know that the website says it is only for older versions, but have you tried posreg.h? – Joshua Drake Jun 1 '12 at 12:58
Also, would you mind posting your sample code? – Joshua Drake Jun 1 '12 at 12:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.