using a pot to control a time range


Results 1 to 5 of 5

Threaded View

  1. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Talking K.i.s.s. ...

    Hi,

    The simplest way :

    Time = ( ADC result >> 1 + 50 ) MIN 500 ...

    or better

    Time = ( ADC Result >> 1 + 50 ) * 8 / 9

    Applause ... Thanks !

    Alain
    Last edited by Acetronics2; - 17th June 2008 at 21:17.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. 16F877 elapsed time control
    By BerkayT in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 12th February 2009, 18:23
  2. servo control via pot ?
    By n0oxv in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 1st March 2007, 08:11
  3. Control unlimited servos at the same time
    By mrx23 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 19th September 2006, 15:14
  4. Button pressed time control
    By tanero in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 15th August 2005, 16:17
  5. trying the pot command to control delay
    By reddogtj in forum mel PIC BASIC
    Replies: 2
    Last Post: - 20th May 2005, 13:50

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