made the pwm input flexible to abstract the timer, this will facilitate more inputs being added shortly.