victor 883

Can you recreate that result?

yes, so it must not be broken.

Double check it's wired correctly, with common grounds and the PWM cable fully into the victor.

did that

The reason I didn't put the code in loop was because the victor wants to see the "off" position last

I put it in a loop because by the time i had started the calibration, the LED had already turned on.