Hi all,
I use MikroC, can also use Hi-tech C.
In the code for my project, I cannot call any function from the interrupt routine. I want particular function to run in my code when i press the switch.
I do not want to update any value in interrupt and scan it in idle condition and run according to it.
I found that it may be the problem of stack limitation.
My questions are,
1> Can I allot the User RAM area to store the stack values. If yes then how to do in MikroC? - Any other solutions are invited for MikroC.
2> will I face the same problem in Hi-tech C in MPLAB?
3> Any solution for the given problem?( Except from setting the values in the interrupt routine )
-- I have attached the project file. You will get the whole idea about it.
Please avoid the mistakes ( you will find many ) as the program is in the first stage. I have stated the problem in the interrupt routine.
Suggestions and complements are welcome.
Any help will be appreciated.
Thanks for reading.