Survive interrupts changing pins on AVR