Absolute position regulation does nothing for me. I have the improved firmware, but nothing happens when I call PosRegSetAngle().
PosRegEnable(OUT_B);
PosRegSetAngle(OUT_B, 180);
Wait(2000);
Does nothing for the two second interval.
GetOutput(currentMotor, TachoLimit)) does return the correct angle set by PosRegSetAngle().
It's worth noting that the PosReg functions aren't built in by default and I have to include posreg.h.
Is there anything else I need to do to enable these functions? Thanks.
If you do not have the PosReg function, your NXC/BricxCC/firmware must be too old. If you still have problem, I would prefer that you request help on the Mindboards forum. --Nicolas