Quote Originally Posted by maciu1 View Post
Hy! No one here able to write 4-5 code lines? Come on!
looks you are included into " no one able " ones ...

So, please, fill up the "empty space" with necessary code.
Don't you think you're asking us too much ???

You should be able to use some "SELECT CASE" statement to drive your PWM value ... or a retrieve table ( "LOOKUP" ) to directly choose your on/off PWM values

Merry Christmas to you ...
read you next year

Alain