Body: <p>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.</p>
  
  <p>But the compiler says: </p>
  
  <p><code># Error: Undefined Identifier PosRegEnablePID</code></p>
  
  <p>How can I set PID parameters for PosReg?</p>
  
  <pre><code>PosRegEnable(OUT_A);
  </code></pre>
  
  <p>compiles just fine...</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2012-06-01T12:58:34.823Z
Comments.Text: I know that the website says it is only for older versions, but have you tried `posreg.h`?
Comments.UserDisplayName: Joshua Drake
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2012-06-01T12:59:00.393Z
Comments.Text: Also, would you mind posting your sample code?
Comments.UserDisplayName: Joshua Drake
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-09T18:30:53.810Z
Comments.Text: I've closed this question because without further information it doesn't appear to be resolvable.
Comments.UserDisplayName: jncraton
Tags: <nxt><mindstorms><programming><nxc>
Title: PosRegEnable - How to change motor parameters?
UserDisplayName: Antonvh
ThreadText: # PosRegEnable - How to change motor parameters?
  
  (Asked by: username_0 on 2012-04-16)
  
  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...
  
  **Tags:** nxt, mindstorms, programming, nxc
  > **Comments:**
  > **username_1**: I know that the website says it is only for older versions, but have you tried `posreg.h`?  
  > **username_1**: Also, would you mind posting your sample code?  
  > **username_2**: I've closed this question because without further information it doesn't appear to be resolvable.  
  
  ---
  
  ## 0 answers
  
  