Hi all, I am using Timer0 as interrupt for display time on LCD. But when the interrupt occurs, it won't come back to the last executed command of interrupted. It is repeating the ISR. I am using embedded C. I don't know what is happening. I did my best. Please help me.
here is my ISR
void timer0() interrupt 1 { TH0 = 0xFC; TL0 = 0x17; time_display(); }
Dear Abdul Hameed, The problem persist when i ignored the function inside the ISR.
if you want qualified advise, present your code in a legible way (formatted, indented, commented ) that you have checked for legibility in the preview
Erik
Look at the instructions: www.danlhenry.com/.../keil_code.png
Use Bold and Italic for emphasis - there is no point in making your entire post Bold!
Use the 'pre' tags for Source Code (and similar) only!
Also note the link to Tips for Posting Messages: http://www.keil.com/forum/tips.asp