PID+Victor question

Hello, my robotics team and I were wondering if you can do a pid with a victor sp? Any help would be greatly appreciated.

You can use the wpilib PIDController class and pass in the VictorSP as an output.