Can I have interupts on any pin ?


Results 1 to 22 of 22

Threaded View

  1. #2
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704


    Did you find this post helpful? Yes | No

    Default

    Bonxy,

    Yes, you can have multiple interrupts. Can you have an interrupt work on any pin on a PIC18F4550? I don't know about that. But can you create a routine where you check the status of the pins that you want and then if a change is made goto to a sub-routine? Something like

    Code:
    IF PORTX.0 = 1 THEN GOTO SUBROUTINE0
    IF PORTX.1 = 1 THEN GOTO SUBROUTINE1
    .......
    Robert
    Last edited by rsocor01; - 10th March 2010 at 14:29.

Similar Threads

  1. Is this a K Type sensor?
    By jessey in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 21st November 2009, 13:55
  2. DS1820 with 16f688
    By jessey in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 23rd May 2009, 05:07
  3. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 17:11
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 17:07

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