LOOKUP2 please help


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by emilhs View Post
    lookup2 not counting all table. who can help?
    The limitation of 85 values only applies to the LOOKUP2 statement.

    The plain old LOOKUP can have up to 255.

    Remove the 2, and your there.
    <br>
    DT

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    The limitation of 85 values only applies to the LOOKUP2 statement.

    The plain old LOOKUP can have up to 255.

    Remove the 2, and you're there.
    <br>
    I didn't know about that limitation Darrel, Thank You.
    EDIT: it's in the book alright! It also takes up 3 times the space as lookup.
    Last edited by Archangel; - 8th May 2009 at 02:00.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Apr 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default thank you

    in my table only 142 figures.
    I have to use one of pic18cXX controllers

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    You don't need an 18?.

    The LOOKUP statement .. NOT the LOOKUP2, will do exactly what you want, even if it's a 12F.
    <br>
    DT

  5. #5
    Join Date
    Apr 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default I will try

    but at the moment I use 16f84

  6. #6
    Join Date
    Apr 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default lookup

    Is there any way to save count. I mean when you unpress button the count stops and when you press again the count starts from the moment it stoped before?

  7. #7
    Join Date
    Apr 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default Lookup did not work

    it gives warning [202] argument out of range Least significant bits used

Similar Threads

  1. need help! to beginner
    By emilhs in forum mel PIC BASIC Pro
    Replies: 27
    Last Post: - 6th May 2009, 19:44
  2. Kind of "customisable" LOOKUP(2), possible?
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 5th May 2009, 20:45
  3. lookup2?
    By jonas2 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 28th February 2009, 13:26
  4. Lookup2 & Lookdown2
    By saladlee in forum Serial
    Replies: 1
    Last Post: - 4th February 2008, 21:41
  5. PIC 16F84A and 7segment LED dispay
    By select in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 21st November 2007, 22:01

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