fixed PWM output, pixing pwm input
6 external interrupt works. savepoint.
TODO: test if input PPM calculation is right