Questions on Darrel's Instant Interrupts


Results 1 to 11 of 11

Threaded View

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


    Did you find this post helpful? Yes | No

    Default Re: Questions on Darrel's Instant Interrupts

    the ClockCounter interrupt could be made a bit faster since it uses no pbp code it can be called an asm interrupt and secondly
    the interrupt flag is being cleared twice

    INT_Handler TMR2_INT, _ClockCounter, ASM, no


    might help.

    ps
    if the do something in the checksensor int takes longer than the tmr2 time out period you are wasting your time ever trying to get it to work.
    why not just set a flg here and then process the "do something " in an interruptable routine
    Last edited by richard; - 16th November 2013 at 02:00. Reason: further thoughts

Similar Threads

  1. Darrel's interrupts in a 7 segment display
    By ardhuru in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th August 2014, 02:06
  2. Are Darrel's Instant Interrupts and SSPWM mutually exclusive?
    By Andy Wood in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th September 2013, 06:54
  3. instant Interrupts
    By Timmoore in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th October 2009, 06:07
  4. DT Instant Interrupts help
    By perides in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 26th November 2008, 18:41
  5. Instant Interrupts Questions
    By JosueCas in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 4th April 2006, 15:54

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