Pulse capture on 12F1822


Results 1 to 4 of 4

Threaded View

  1. #2
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Re: Pulse capture on 12F1822

    It looks like you're monitoring for a positive going pulse that is caught by the first While/Wend but will stay there because the second While/Wend is waiting for it to go Positive again.

    Change the second one to:
    Code:
    while Capture
    wend
    So now it is waiting for the pulse to go Low.

    Or am I missing something to?... yup, thought the "Capture" was a pin, it's the interrupt. NM
    Last edited by LinkMTech; - 18th May 2015 at 18:16.
    Louie

Similar Threads

  1. 12F1822 troubles
    By Charlie in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 24th June 2012, 13:53
  2. Use Timer1 Gate to Capture Pulse Widths
    By Bruce in forum Code Examples
    Replies: 1
    Last Post: - 23rd March 2012, 17:21
  3. 12F1822 embedded host?
    By dhouston in forum USB
    Replies: 5
    Last Post: - 18th September 2011, 19:14
  4. MIBAM and 12F1822...
    By alesniak in forum mel PIC BASIC Pro
    Replies: 27
    Last Post: - 17th September 2011, 07:45
  5. Pulse Capture and byte building
    By boroko in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st July 2009, 02:59

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