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...

closed as unclear what you're asking by jncraton Dec 9 '16 at 18:30

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the 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
  • 2
    Also, would you mind posting your sample code? – Joshua Drake Jun 1 '12 at 12:59
  • I've closed this question because without further information it doesn't appear to be resolvable. – jncraton Dec 9 '16 at 18:30