PWM based LED Driver library routines