Shop OBEX P1 Docs P2 Docs Learn Events
Scroll Menu using LCD AppMod — Parallax Forums

Scroll Menu using LCD AppMod

G-ManG-Man Posts: 3
edited 2007-11-30 20:55 in BASIC Stamp
Im looking to create a menu that can be scrolled through using the buttons on the Parallax LCD AppMod.· Do I need to create a table of messages to then index thru them?· If so how can I do this?

gabe

Comments

  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2007-11-27 17:18
    Hi gabe , you could place you messages as text strings as part of your code or you could store the messages in EEPROM. The advantage of EEPROM is if you have a large number of messages it saves on program space. If you take a look at the DATA instruction of the Pbasic IDE help file the page contains a link to an example program that stores and reads addressable text strings one character at a time. With a little adaptation this would probably be the best way to build your menu structure. To begin with I would play around with it in the debug terminal until I had it how I wanted then I would add the LCD routines.

    hope this helps

    Jeff T.
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2007-11-27 17:30
    ·Jeff T.

    Thank you for your·post on this subject

    I have a project that I want to have a· menu to control different thing with a Basic Stamp

    I will play with the Data Demo Code·like you said to Gabe

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them

    ·
    ·
    ·
    ·
    Sam
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-11-30 18:10
    Sounds like a nice weekend project. I have a few menu routines that could be cleaned up and used. I will see what I can do this weekend and try to post something.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • G-ManG-Man Posts: 3
    edited 2007-11-30 20:55
    Thanks all, I did find an article in nuts and volts with sample code that lets me create levels for the menu as well as muliple screns per level. It is woking great so far. I will find the link and post it.

    gabe
Sign In or Register to comment.