adding configurable pwm input filter (cli -> pwm_filter 0 to 15)