Controlling LED brightness without using PWM directly

Hi
You can use this tutorial