Hi friends,
I'm trying to use both timer & hardware interrupt on the same time with the following code but the timer interrupt is not running while running together. but separately both are working. please help me to solve this issue.
Paul is right, please follow rules for asking questions, you can find them in topics.
About your problem, I asked simular thing and you can find it solved at the link bellow. I would strongly recommend to you to lear about timer interrupt first and not to use some libraries that you dont undrestand. If you cant solve it after reading this topic, I will send you my full code.
ognjen3:
Paul is right, please follow rules for asking questions, you can find them in topics.
About your problem, I asked simular thing and you can find it solved at the link bellow. I would strongly recommend to you to lear about timer interrupt first and not to use some libraries that you dont undrestand. If you cant solve it after reading this topic, I will send you my full code.
Thanks. Please share with me your detailed code. I have gone through the post you referred but I'm not able to understand the details of the procedure of solving.
Is it not possible through using TimerOne library & hardware interrupt on the same time or by using of any other library. It would be more helpful for me.
I think this way is better because I directly cumunicate with registers so in every step I know what is written in them. Im at work right now, so tonight I will send you my code with comments so you can understand it, ans most of all, you will lear how time interrupt work.
When I use TimeOne lib, I dont know whats happening in background so Im not fan of it, but yes you can use it.