Reading three inverted 12v PWM values

Grumpy_Mike:
The one that gives the odd behaviour.

Those LED's are 12V common anode!