9

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?

PosRegEnable(OUT_A);

compiles just fine...

  • 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