That code won't link correctly as no blink1 is found.
That's
while (tag == 0)
Timer1.attachInterrupt(blink1, freq_x[p]*1000);
}
a bad idea as it will wait forever.
That code won't link correctly as no blink1 is found.
That's
while (tag == 0)
Timer1.attachInterrupt(blink1, freq_x[p]*1000);
}
a bad idea as it will wait forever.