LEGO® Answers is a question and answer site for LEGO® and building block enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.