Hi Samedsahinoglu, Why do you place "EI();" at the end of the interrupt function? It will automatically return to the previous PSW(interrupt enable) state when exiting from the interrupt. So, once interrupt enable in the main routine, "EI();" is not required in the interrupt routine as long as you are not using multiple interrupt.
↧