I'm new to phidgets. I'm a programming noob too.
I've got a DC motor and the DCC1000_0 controller. The encoder is connected to the controller.
I've used the example code to create programs to view the position (from the encoder) and to move the motor.
But I want to the motor to spin xxtimes and then stop. And I want the encoder to read the rotations and stop the motor when it has reached a give number of rotations.
How? The encoder is not connected to the VINT hub, but to the controller it self.
PID would also be nice, but I want to start out slow..