Knight rider PWM

My MobaTools library contains a softled-example for a K.I.T.T. Simulation.
Maybe this is what you want?