Ok, so both pins you have tried are PWM outputs, and per the firmware notes will output as PWM:
"PID and Deadband devices on pins with both Digital (D) and PWM Output (P) will use PWM Output."
Try using a pin without PWM output like 5, 18, 19, or 23 and see if that fixes the issue.