S.Bus to PWM/PPM decoder