Re: PROBLEM IN CODING TIMER 0 OF PIC16F526
it would be easier to help you if you would share your code.
Anyway, make sure that have you correctly configured the following:
- timer0's enable bit
- timer0's prescaler and postscaler
- timer0's preload value
- timer0's clock source
- timer0's interrupt must be enabled
- general interrupts must be enabled
- make sure to clear the timer0's interrupt flag once you are in the interrupt routine. TMR0IF=0
And if you want to check if the interrupt is actually working you could use the Debug Tool from MPLAB or you could toggle an LED within the interrupt service routine, that way you can see it without needing the Debug Tool.
I'm by no means an expert, this is the first time that I write something in this forum. That being said, I hope that what I wrote isn't wrong.