IOC on 18F2580?


+ Reply to Thread
Results 1 to 3 of 3

Thread: IOC on 18F2580?

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,632


    Did you find this post helpful? Yes | No

    Default Re: IOC on 18F2580?

    Does this mean that I cannot use an interrupt for this task on this MCU?
    why not use one of the interrupt pins int0 int1 int2
    alternatively
    portb pins 4 to 7 have interrupt on change capability

    read data sheet interrupt section and i/o port sections chapters 9 and 10
    Warning I'm not a teacher

  2. #2
    Join Date
    Jul 2024
    Posts
    28


    Did you find this post helpful? Yes | No

    Default Re: IOC on 18F2580?

    Greetings Richard,

    you are correct. I can use RBC interrupt.

    The only limitation is that, between RB4 and RB7, the pins that will trigger the interrupt are the ones set as inputs.
    If I only want one pin, I need to set the others as outputs.

    Thank you so much for your help.

    Best regards

Similar Threads

  1. SOLVED - IOC works on B0 but not B5
    By Demon in forum General
    Replies: 19
    Last Post: - 26th September 2024, 21:11
  2. IOC on the 27k40
    By longpole001 in forum PBP3
    Replies: 14
    Last Post: - 10th December 2019, 13:28
  3. IOC question
    By Adrian in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 1st April 2008, 19:21
  4. McLoader and 18F2580
    By rwskinner in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 12th February 2007, 06:20

Members who have read this thread : 8

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