hello dinkar, first of all if you just want to send two integers at every 5 sec why are you using uart transmit interrupt ISR. i don't think you need that you can easily send without using that. Second thing if you want to check what is exactly happening in your current program do following take an oscilloscope 1) make a gpio high(1) at line 72 then again pull down(0) it at line 84 2) make another gpio high(1) at line 97 and again pull down(0) it at line 104. 3) watch both pins on oscilloscope on different channels . 4) now watch your tx pin with respect to both pulse one by one. try to make some conclusion you will get your answer.
↧