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

Interrupts, flags and functions

Hello, I need to know the exact moment when an input is set.

I'm using XC167CI and I have fast interrupts. This way is full, I mean I have used all fast interrupts.

I don't know how I can know when an input por is set and reset.

What can I do? I which file can I paste the code? Maybe in MAIN.C? Maybe in IO.C?

Please, help me.

Parents
  • "Have u got a sample code for that?"

    I'm afraid it's your job to write the code.

    "How can I use ISR? How can I connect several signal together on 1 interrupt pint? I'm so lost. Please, help me."

    It sounds like you don't have much idea about electronics or programming. I think you will have to go back and learn the basics before you can tackle this kind of project.

Reply
  • "Have u got a sample code for that?"

    I'm afraid it's your job to write the code.

    "How can I use ISR? How can I connect several signal together on 1 interrupt pint? I'm so lost. Please, help me."

    It sounds like you don't have much idea about electronics or programming. I think you will have to go back and learn the basics before you can tackle this kind of project.

Children
No data