Can i measure 2 secs with pulsin?


Results 1 to 12 of 12

Threaded View

  1. #8
    Join Date
    Feb 2010
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Thanks a lot Bruce and Tenaja, both ideas are great. Will tray both

    Bruce one thing, your while...wend statemet, will be a inifinite loop if I left the button pressed, doesn't? I did the next code, will work?

    Code:
            if PORTA.0 = 1 THEN
            PAUSE 2000
            if PORTA.0 = 1 THEN 
            gosub PROGRAMAR
            endif
    Last edited by lugo.p; - 9th March 2010 at 15:24.

Similar Threads

  1. Replies: 17
    Last Post: - 12th April 2014, 02:17
  2. Funny PULSIN values: what is going on???
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th April 2008, 08:02
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  4. CCP1 and CCP2 to measure 2 frequencies together
    By bobonapoletano in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 28th December 2005, 07:34
  5. PULSIN and RCTIME
    By Dwayne in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th November 2004, 14:45

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts