18F4550, How to use multiple External Interupts


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Location
    Tennessee
    Posts
    262


    Did you find this post helpful? Yes | No

    Default Re: 18F4550, How to use multiple External Interupts

    So something like this?


    myint:
    if INTCON.0 = 1 then LED1 = 1
    if INTCON2.0 = 1 then LED2 = 1
    if INTCON3.0 = 1 then LED3 = 1
    Resume ' Return to main program
    Enable

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: 18F4550, How to use multiple External Interupts

    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,621


    Did you find this post helpful? Yes | No

    Default Re: 18F4550, How to use multiple External Interupts

    So something like this?
    Yes, but don't forget to clear the interrupt request flag for the interrupt in question before you RESUME.

    /Henrik.

Similar Threads

  1. Help with interupts
    By Frozen001 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 22nd October 2011, 18:46
  2. External Eeprom - trying to store multiple variables
    By bluesmoke in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th April 2010, 02:07
  3. Can I have interupts on any pin ?
    By Bonxy in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 17th March 2010, 15:19
  4. DT Interupts and ICD?
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th November 2009, 02:02
  5. Multiple External Interupts
    By w7ami in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 31st May 2007, 22:56

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