void Interrupt(){
if (TMR1IF_bit){
TMR1IF_bit = 0;
TMR1H = 0x0B;
TMR1L = 0xDC;
sec2++;
sec3++;
sec4++;
}
}
whenever i use those variables to make a different delays just 1 delay works only,ex.if i made sec2 for 10 seconds n sec3 for 15 sec just the 10seconds only works for both of them
if (TMR1IF_bit){
TMR1IF_bit = 0;
TMR1H = 0x0B;
TMR1L = 0xDC;
sec2++;
sec3++;
sec4++;
}
}
whenever i use those variables to make a different delays just 1 delay works only,ex.if i made sec2 for 10 seconds n sec3 for 15 sec just the 10seconds only works for both of them