Interrupt does not switch between ISR's properly

make one masterIsr(), no need to swith isr()S

void masterIsr()
{
  if (switch == HIGH) isr1();  // best to be implemented with direct port manipulation
  else isr2();
}

ANd please use CTRL-T in your IDE to restyle the code, looks so much better (thank you :slight_smile: