Hi,thanks but I got'proceed' was not declare in this scope?Br JanOn Thu, Nov 26, 2020 at 8:00 AM Mikael Dagman <mikael_dagman@...> wrote:All other code leave as is, just inser those pieces of code ISR(TIMER1_COMPA_vect) { proceed = true; }put in the end of void setup()? ? noInterrupts(); // Set up Timer1 for interrupts every symbol period. ? TCCR1A = 0; ? TCNT1? = 0; ? TCCR1B = (1 << CS12) | ? ? ? ? ? ?(1 << CS10) | ? ? ? ? ? ?(1 << WGM12); ? TIMSK1 = (1 << OCIE1A); ? OCR1A = WSPR_CTC; ? interrupts();
All other code leave as is, just inser those pieces of code ISR(TIMER1_COMPA_vect) { proceed = true; }put in the end of void setup()? ? noInterrupts(); // Set up Timer1 for interrupts every symbol period. ? TCCR1A = 0; ? TCNT1? = 0; ? TCCR1B = (1 << CS12) | ? ? ? ? ? ?(1 << CS10) | ? ? ? ? ? ?(1 << WGM12); ? TIMSK1 = (1 << OCIE1A); ? OCR1A = WSPR_CTC; ? interrupts();