Hello Kirin I use "EI();" in main function like that: int main(void) { AD_start(); TAU0_Channel0_Start(); EI(); LedUL[LedHigh][-1]=0; LedLL[LedLow][-1]=0; while(1) { } } I solved the problem but this is not a healtly solution. because I use "EI();" end of the every interrput function and also use in main function. this is runing but i don't know will bring new problems in the future. so i think, must be a better solution.
↧