Attiny24 Timer0 setting up

Hi,

thanks for the prompt. A full code that doesn't work is below; all setup I have is an LED on pin 10. In the setup, its blinks once and then stays on even though the interrupts should turn it off. Once I have this I can start changing the ISR to actually do something meaningful but as of now, I don't really know if the interrupt is triggered or not.

int output = 10;

ISR(TIMER0_COMPA_vect) {
  digitalWrite(output, digitalRead(output) ^ 1);    //toggle pin ON/OFF
  }
}

void setup() {

  //test connection - LED at pin 10 should blink once ON-OFF
  pinMode(output,OUTPUT);

  digitalWrite(output,HIGH);
  delay(1000);
  digitalWrite(output, digitalRead(output) ^ 1);
  delay(1000);

  //setup the timer 1
  cli();

  //TCCR0A - set 0b0000RR10
  TCCR0A = 0;
  TCCR0A |= (1<<WGM01); 

  //TCCR0B set to 0b00RR0101
  TCCR0B = 0;
  TCCR0B |= (1<<CS02); 
  TCCR0B |= (1<<CS00);
  TCNT0 = 0;
  OCR0A = 244;
  
  //enable interrupt on A
  TIMSK0 = 0;
  TIMSK0 |= (1<<OCIE0A); 
  sei();
  

}

void loop() {
  
}