IOC flag triggered when PIC is unplugged...?


Results 1 to 14 of 14

Threaded View

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

    Question IOC flag triggered when PIC is unplugged...?

    16F18877

    Any idea why it would do that?

    The PIC is running normally, and then the IOC flags get set when I pull the USB cable on the MeLabs programmer (or unplug the header).

    I know my encoders can jitter, but I'm not even touching them.


    EDIT: My configs for brown out in case it helps:

    Code:
    _BOREN_ON & _BORV_LO
    Last edited by Demon; - 21st September 2024 at 05:13.
    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 : 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