Moving menu down in LCD


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    May 2014
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Re: Moving menu down in LCD

    Thank you Art, I will try and report back on Monday.

  2. #2
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Moving menu down in LCD

    I see errors (late at night). In the last asm routine bitwise rotate
    should be index = 0 to 7 (not 0 to 5),
    and I did not increment the “selected” value.
    Code:
    IF button presses = 1 then
    ‘should also include
    selected = selected + 1
    if selected > 5 then
    selected = 0
    endif
    gosub rotatearray
    endif
    The selected value tells you what sensor you’re looking at while you’re pointed at zero.

    The first thing you should do is learn to start counting from zero like all computers and programming languages do.
    Then only when it comes to displaying something like “sensor 0 is reading 32 degrees” to the Humans,
    is the point you increment everything by 1 to make it readable to the outside world of Humans.

Similar Threads

  1. LCD menu
    By malc-c in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st April 2010, 17:22
  2. lcd menu problems
    By xxxxxx in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 2nd April 2009, 19:00
  3. LCD menu
    By Fredrick in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 9th February 2009, 09:02
  4. Moving the LCD
    By PICante in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 13th April 2008, 01:03
  5. Lcd Menu
    By eliecer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th February 2005, 19: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