Knight rider PWM

i think that last closing brace closes the function