Instant Interrupts Sources.


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116

    Default Instant Interrupts Sources.

    Hi,

    I am thinking about using Darrel's excelent instant interrupts for a project. My question is can I use 2 external interrupt sources? i.e. Pic18F4550 INT0, and INT1.

    Regards
    Bob...

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts Sources.

    Yep. Those and a lot more....
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts Sources.

    Hi Bruce,

    Thank you for the prompt reply.

    In darrels example there is the line to enable the external interrupt.

    INT_LIST macro ; IntSource, Label, Type, ResetFlag?
    INT_Handler INT_INT, _ToggleLED1, PBP, yes

    So would I just use INT0_INT, and another with INT1_INT?

    Bob...

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts Sources.

    So would I just use INT0_INT, and another with INT1_INT?
    Yes. INT_INT and INT0_INT are the same thing, but I prefer to be a bit specific.

    See this page for details: http://darreltaylor.com/DT_INTS-18/home.html

    You will be quite happy with his routines once you learn to use them.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts Sources.

    Ahh I had only found the site for INTS 14. This makes things clear
    Thanks Bruce.

    Regards
    Bob...

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts