DT_instantINT 16f690 not working... what am I doing wrong?


Results 1 to 5 of 5

Threaded View

  1. #5
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: DT_instantINT 16f690 not working... what am I doing wrong?

    Henrik... BINGO!

    Go get yourself a doughnut... (or whatever sweet treat you good people of Sweden like to enjoy at celebrations!)

    that was it...

    I just added this line to my INT handler...
    Code:
    '---[INT - interrupt handler]---------------------------------------------------
    ToggleLED1:
    myvar = PortB
    IOC_FLAG = 0
    toggle LED0
    
    @ INT_RETURN
    And now I have 2 LED's blinking at different rates, one controlled by the rate of the INT, the other at a fixed rate controlled by the PAUSE command in the Main program loop.

    I spent a couple of hours testing and troubl shooting and pulling my hair out... on this last evening. Why? was it for a special important project? NO... I just wanted to get my brain around the DT INT's and be able to use them and under stand them. My signature line really says it for me.
    Last edited by Heckler; - 6th November 2011 at 14:39.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

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