Question: why use pwm for led?
Answer: The higher our PWM resolution is, the more levels of 'brightness' we can display. ... With PWM control of LEDs the primary advantage of higher PWM resolutions is that it results in a smaller difference between 'off' and the lowest possible brightness from the LED.