Interrupts question


Results 1 to 12 of 12

Threaded View

  1. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: Interrupts question

    Another thing that spring to mind, are you expecting a low to high pulse on PORTB.1 or a high to low pulse?

    If you expect a LOW to HIGH, then you should clear PORTB.1 at the beginning of your code, and set it it you expect a High to low one.

    It's always a good idea to set the idle state of any PORT pin as the initial state might be unknown.
    Last edited by Archangel; - 11th August 2011 at 02:59.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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