IOC flag triggered when PIC is unplugged...?


Results 1 to 14 of 14

Threaded View

  1. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170


    Did you find this post helpful? Yes | No

    Default Re: IOC flag triggered when PIC is unplugged...?

    Code:
    IOC_COM1_Swap_flag          var IOCAF.4
    IOC_COM2_Swap_flag          var IOCCF.1
    IOC_NAV1_Swap_flag          var IOCBF.5
    IOC_NAV2_Swap_flag          var IOCBF.2
    These, at random.

    Only IOC was used, no other peripherals used on these pins.

    I tried external pull-ups just now, in case the internal were just borderline, but that didn't make a difference.

    EDIT: Using this wiring:

    Name:  Switch debounce.jpg
Views: 612
Size:  26.8 KB
    Last edited by Demon; - 21st September 2024 at 16:15.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

Similar Threads

  1. Replies: 9
    Last Post: - 1st November 2016, 14:37
  2. DT_INTS-14.bas Reset Flag
    By Larryd in forum Serial
    Replies: 2
    Last Post: - 8th April 2013, 22:44
  3. Replies: 1
    Last Post: - 12th May 2012, 12:37
  4. How to know what pin triggered an interrupt?
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 13th October 2008, 07:29
  5. DS18B20 Busy Flag
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 6th November 2006, 13:21

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