Shop OBEX P1 Docs P2 Docs Learn Events
Difficulty with second LCD menu — Parallax Forums

Difficulty with second LCD menu

TorquewrenchTorquewrench Posts: 28
edited 2005-08-28 21:07 in BASIC Stamp
I have a situation where my first LCD menu works fine, but the second menu tree displays gobbledy-gook and Japanese characters, and I cannot figure out why.

Has anyone else seen this problem or know what I'm doing wrong? My code is very similar to Jon Williams' code in NV62 on Menus.

Thank you,

Phil

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-08-28 04:27
    Phil,

    ·· Were you posting your code or Jon's code?· The header notes say this is Jon's code.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • TorquewrenchTorquewrench Posts: 28
    edited 2005-08-28 14:29
    Sorry, I just haven't changed the header, it is my code (from his example).
  • TorquewrenchTorquewrench Posts: 28
    edited 2005-08-28 21:07
    I've come to a solution, what I've added to the second menu is the following

    char = DDRam + Line1
    GOSUB LCDcmd

    This puts me back at the start of the first line of the LCD. What puzzles me is that this was not needed on the first menu. Now I've added it to my ClearLCD subroutine so it is at the start of every menu, and the only downside is the time hit every cycle for this command.

    Thanks,

    Phil
Sign In or Register to comment.