Moving menu down in LCD


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Location
    Welches, Oregon
    Posts
    198


    Did you find this post helpful? Yes | No

    Default Re: Moving menu down in LCD

    I think that Select and Case will work:

    DG=Dark Grey number
    LSD = Line Start Display
    MNV = Max Number of Variables

    Select case DG
    Case is < 4
    LSD = 1 : GOSUB Display
    Case is 4 to MNV - 1 'MNV calculated or hard coded. Only first 3 and last one are special cases.
    LSD = DG - 2 : GOSUB Display
    Case = MNV
    LSD = MNV - 3: GOSUB Display
    End select




    Display:
    For LP = LSD to LSD + 3
    DIPLAY LINE LP
    NEXT LP
    Return
    Last edited by Amoque; - 26th August 2015 at 15:06.

Similar Threads

  1. LCD menu
    By malc-c in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st April 2010, 18:22
  2. lcd menu problems
    By xxxxxx in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 2nd April 2009, 20:00
  3. LCD menu
    By Fredrick in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 9th February 2009, 10:02
  4. Moving the LCD
    By PICante in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 13th April 2008, 02:03
  5. Lcd Menu
    By eliecer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th February 2005, 20:29

Members who have read this thread : 1

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