Posted on September 26, 2003 at 07:03void timer1() { } I want to use this function as PBU timer. so, TBUCV = 0xe0; TBUCSR = 0x1f; I set these register, what else must I do? plz help!
As per your configuaration, you have set the timer @1msec if the fcpu = 8MHz. Now, into the interrupt routine you have to clear the OVF flag by reading the TBUCSR register and reload the TBUCV register.