Interrupt questions


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by HenrikOlsson View Post
    Hi,
    ...that is, as soon as the dataline has been "silent" for the specified time it jumps to the routine of your choise.
    Only if is silent (ie no noise) AND it idles in the correct state.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Greetings HenrikOlsson ,

    thanks for the tip about the timeout, i didnt noticed it.

    I will try it, but i think it's the most logical way to do this.

    I've noticed that the timeout is used in milliseconds, but it doesnt say what is the max value it can accept?

    I will need maybe 30sec at least.

    Melanie,

    thank you also for reminding that. Makes perfect sense

    .

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default

    Hi,
    I'm not sure what the maximum timeout value is but I'd guess it's 65535. If you find the limit to be lower than what you need you could stack multiple DEBUGIN statements so when the first one times out it jumps to the second etc.

    /Henrik.

Similar Threads

  1. Won't go back to SLEEP after 1st Interrupt
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 29th June 2009, 10:00
  2. Can't ID interrupt source with this IntHandler??
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd June 2009, 03:35
  3. Help with Analog Interrupt
    By brid0030 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th February 2008, 19:14
  4. ON INTERRUPT questions
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 19th December 2005, 20:47
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 02:07

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