pulse sensor and ISR stops the rest of my code