Shop OBEX P1 Docs P2 Docs Learn Events
Existing "menu" code example? — Parallax Forums

Existing "menu" code example?

Vern GranerVern Graner Posts: 337
edited 2006-07-24 17:50 in BASIC Stamp
I'm in the process of making a device that will have a series of settings that I'd like to make adjustable by the user. I planned to simply write the values to eeprom using WRITE and READ so they will be retained when the power is off. That part I've got figured out. smile.gif

What I'm looking for is some example "menu" type code. I will be using the Parallax 16x2 line LCD display and a 4-way joystick w/fire button for the input on the device. I was hoping to find an example of a code structure that would allow the joystick to scroll up and down through menu options and then select/incerment/decrement them.

Before I spend a bunch of time "re-inventing the wheel", does anyone have code like this that I could have a look at? TIA! smile.gif

Vern

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Vern Graner CNE/CNA/SSE    | "If the network is down, then you're
Senior Systems Engineer    | obviously incompetent so why are we
Texas Information Services | paying you? Of course,if the network
http://www.txis.com        | is up, then we obviously don't need
Austin Office 512 328-8947 | you, so why are we paying you?" ©VLG

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-07-24 05:05
    Vern,

    ·· I'm not sure which one, but I am pretty sure Jon Williams or someone covered this in a Nuts & Volts column.· You could peruse our downloads section for that. On second thought...Here ya go...Try this one!· =)

    http://www.parallax.com/dl/docs/cols/nv/vol2/col/nv62.pdf

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Vern GranerVern Graner Posts: 337
    edited 2006-07-24 17:27
    Chris Savage (Parallax) said...
    On second thought...Here ya go...Try this one! =)
    Perfect! Thanks! smile.gif

    Vern

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Vern Graner CNE/CNA/SSE    | "If the network is down, then you're
    Senior Systems Engineer    | obviously incompetent so why are we
    Texas Information Services | paying you? Of course,if the network
    http://www.txis.com        | is up, then we obviously don't need
    Austin Office 512 328-8947 | you, so why are we paying you?" ©VLG
    
    
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2006-07-24 17:50
    I just started struggling with a menu system for a DEBUG interface.
    This will help with that too. After all with have DEBUGIN too.

    Thanks Chris. This will speed things up.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "If you want more fiber, eat the package.· Not enough?· Eat the manual."········
    ···················· Tropical regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
Sign In or Register to comment.