Stable reading of PWM Receiver on Adruino Mega using timer 5