Existing "menu" code example?
Vern Graner
Posts: 337
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.
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!
Vern
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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!
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
·· 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
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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."········