Using two timer asynchronously will not work? help please

im trying to put two LED’s on asynchronously using two timers. but it wont work. Both LED’s toggle at the same speed irrespective of how i set OCR1A and OCR0A

void setup(){
  

DDRB = 0b11111111;  

cli();                               // disable global interrupts

TCCR1A = 0;                          // set entire TCCR1A register to 0
TCCR1B = 0;                          // set entire TCCR1A register to 0

TCCR0A = 0;                          
TCCR0B = 0;

OCR1A = 5000;                       //set compare value
OCR0A = 200;


TCCR1B |= (1 <<WGM12);               //Enable CTC mode
TCCR0B |= (1 <<WGM02);

TIMSK1 |= (1 << OCIE1A);              //// enable timer compare interrupt:
TIMSK0 |= (1 << OCIE0A);
               
TCCR1B |= (1 << CS12) | (1 << CS10); // Sets Prescaler to 1024 (16000000/1024 = 15625) overflow at 65536 so 65536/15625 = 4.19s
TCCR0B |= (1 << CS02) | (1 << CS00);


sei();      

}

void loop(){



}










ISR(TIMER1_COMPA_vect)
{
Toggle LED1
}

ISR(TIMER0_COMPA_vect)
{
Toggle LED2
}

Why not just control the timing with milis() - very much easier.

...R

Could you please post a complete program that compiles and show the problem ?

I dont want to use millis because that uses interupts itself.

I will post the program when I'm at my computer again

calvingloster: I dont want to use millis because that uses interupts itself.

I don't understand. The millis() interrupts will be happening in the background anyway.

...R