It’s not just a cost saving measure. PWM has some benefits like better accuracy and linearity in the lower brightness ranges.