MBED PWMOUT to change output of external LEDs

How can I change the output of external LEDs say on p5 or p6 using PWMOut? Is there a way to use PWMOut outside of regular PWM pins?

Hello Prabhat,

Try this softPWM library.

Best regards, Zoltan