The For loop in intrrupt is not working

Status
Not open for further replies.

ermtariq2

Newbie level 4
Joined
Sep 8, 2009
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Mumbai
Activity points
1,324
For loop in intruupt

Hi all,

I am facing a problem while i run a function in 'For' loop inside "void rxd0() interrupt 4" .
it is not working , while if i run the same function alone it is working fine.
why this is happen.
 

For loop in intruupt

Nobody can help you without your code. Post your code you will get help

Nandhu
 

Re: For loop in intruupt

Hello Boss,
Send details about rxdo() functionality and its code
 

Problem is solved , I have to declare the variable globally , used in 'for' loop .
Thanks
 

You could also declare it as 'static' in your interrupt routine?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…