This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem in calling the function in ISR

Hi,

I'm using LPC2148 controller and interfacing accelerometer sensor, I need to enable this

sensor all the time and with the counter set in the ISR it should come out of the loop, below is

the code.

Presently only a=0 is printing on LCD, sensor function part is not working, if sensor function is called in the main() it works fine and displays detected values on LCD. Any suggestions will be of great help.

 

Regards,

Aakansha

0