Customizing the DT_INTS-XX.bas Instant Interrupt


Results 1 to 14 of 14

Threaded View

  1. #12
    Join Date
    Feb 2008
    Location
    Michigan, USA
    Posts
    231


    Did you find this post helpful? Yes | No

    Default Re: Customizing the DT_INTS-XX.bas Instant Interrupt

    Well, looking at the DT_INTS-16 that Dave was so nice to share, I couldn't see the issue, so I just added a line to clear the flag and it seems to be reacting much better. If I get the time, I may look deeper into DT_INTS and see if I can understand how it works better than the 20% I can make sense of. Until then, this seems to solve my problem.
    Code:
    '---[IOC - interrupt handler]------------------------------------------
    Capture:  ' Enter here with Tach Pulse from ECM (IOC)
        toggle VSS_led 
        toggle N_LED
        pulsout tachdrv, 50         ' normal 4 cy tach, 500uS 
        IOCCF = 0 
    @ INT_RETURN
    Now to incorporate it back into the real program and see if I have the issue solved...

    Thank you guys for all the help. Would not likely have seen that with out it.

    bo
    Last edited by boroko; - 5th May 2020 at 20:43.

Similar Threads

  1. RTCC Interrupt for DT_INTS-18.bas
    By readitaloud in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th November 2013, 22:33
  2. Can I use DT_INTS-18.bas and MIBAM.pbp together?
    By tacbanon in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th August 2013, 22:20
  3. DT_INTS-14.bas Reset Flag
    By Larryd in forum Serial
    Replies: 2
    Last Post: - 8th April 2013, 22:44
  4. Serial Interrupt with DT_Ints - Error
    By gadelhas in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 11th August 2010, 13:26
  5. Problem with DT_INTS-14.bas and PIC16F628A
    By CesarP in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th August 2010, 05:31

Members who have read this thread : 1

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