first branch commit
PWM interrut seems to work nicely.