Can't get IOC on pin change working


+ Reply to Thread
Results 1 to 6 of 6

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: Can't get IOC on pin change working

    congrats on posting your code in code tags
    while its unfortunate that the forum mangles % notation i guess that mangled binary notation is not your trouble

    you have neglected to tell us what pic chip you are using but looking at the config section it has PPS
    therefore dt-ints will not in all likelihood function for your chip without modifications
    secondly you have not set up the internal osc at all, that will cause a very slow default int osc to be used. depending on the pic chip you are using of course
    Warning I'm not a teacher

  2. #2
    Join Date
    Dec 2010
    Location
    Melbourne Australia
    Posts
    169


    Did you find this post helpful? Yes | No

    Default Re: Can't get IOC on pin change working

    Quote Originally Posted by richard View Post
    congrats on posting your code in code tags
    you have neglected to tell us what pic chip you are using but looking at the config section it has PPS
    therefore dt-ints will not in all likelihood function for your chip without modifications
    Richard,
    can you elaborate or provide some pointers for that? You're suggesting there's more mods needed than to simply assign the appropriate PPSs ?

    Troy

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,653


    Did you find this post helpful? Yes | No

    Default Re: Can't get IOC on pin change working

    can you elaborate
    nobody keeps dt-ints upto date, the pic world has moved on - pic int flags and enable bits have been changed/modified added to and relocated for enhanced core chips pic16f 1xxxxx
    see this
    https://www.picbasic.co.uk/forum/sho...change-working
    Warning I'm not a teacher

  4. #4
    Join Date
    Dec 2010
    Location
    Melbourne Australia
    Posts
    169


    Did you find this post helpful? Yes | No

    Default Re: Can't get IOC on pin change working

    Thanks Richard,

    Troy

Similar Threads

  1. IOC on pin going HIGH and LOW
    By Demon in forum Code Examples
    Replies: 7
    Last Post: - 30th August 2024, 20:30
  2. Replies: 8
    Last Post: - 30th August 2024, 19:45
  3. IOC on a ACD pin ?
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th August 2013, 01:11
  4. Replies: 1
    Last Post: - 12th May 2012, 12:37
  5. A Simple IOC Routine (Interrupt On Change)
    By lugo.p in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th March 2010, 19:53

Members who have read this thread : 9

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