Hi Acetronics,

PWM filter is not something I created through my output port; it is what picbasic pro recommends.
If you check the manual or help files, you will find this filter as a solution to scarry pwm out. Still, it is optional.

If you know something else, pls share it with us so that we can learn. Also, PWM is already an on/off state with different intervals on ON mode, on OFF mode etc. and this is called "modulation".