PAUSE for a variable time? Using MAX and MIN


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,615


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: PAUSE for a variable time? Using MAX and MIN

    Does this provide the functionality you want?
    Code:
    IF LC < 5000 THEN
      PAUSE (5000 - LC)
    ENDIF

  2. #2
    Join Date
    Mar 2023
    Location
    Cape Town, South Africa
    Posts
    26


    Did you find this post helpful? Yes | No

    Default Re: PAUSE for a variable time? Using MAX and MIN

    Thank you Ioannis and Henrik, both your suggestions would be suitable for me. I apologise for posting this amateur question. In my defence, I had just started a section a code when the grandchildren arrived and that put a sudden stop to it . . . . .

Similar Threads

  1. Array variable access time
    By achilles03 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th April 2020, 07:48
  2. MAX MIN vs IF
    By netstranger.nz in forum PBP3
    Replies: 1
    Last Post: - 3rd March 2013, 10:24
  3. pause 1 min in osc 48 ?
    By dala01 in forum USB
    Replies: 1
    Last Post: - 12th December 2011, 15:22
  4. defining max pulsin time with duty cycle 100%
    By hkpatrice in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th April 2010, 10:58
  5. ADCIN > HPWM but with min/max limits - i failed maths
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 29th November 2009, 02:02

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