??? 04/05/04 03:52 Read: times |
#67925 - RE: LCD Based Menu system Responding to: ???'s previous message |
I've tried storing variables in array, using pointers, trying a perverted linked list idea.
I have used a nested menu were each menu item was its own function, I've used a few different variations on state machines one of which I kind of like, I tried doing a setup that was a recursive menu function that was similar to one discussed on the forums. Here lately I've been working on a recursive function that uses a state machine to control its current position in the menu in combination with a lined list to store the strings. A second function is a simple case statement that when the end of the tree is hit it will be evoked to determine what function should be called. (crossing fingers this doesn't exhaust the stack) I hope this is descriptive enough to let you know some of the directions I have gone. Short of posting the actual code I don't know how to be much more descriptive. If it comes down to it and no one has any other suggestions that is fine. I was simply hoping someone else who had been down this road might have some enlightening view of how to look at the problem. |
Topic | Author | Date |
LCD Based Menu system | 01/01/70 00:00 | |
RE: LCD Based Menu system | 01/01/70 00:00 | |
State Machines | 01/01/70 00:00 | |
RE: State Machines | 01/01/70 00:00 | |
RE: State Machines | 01/01/70 00:00 | |
RE: State Machines | 01/01/70 00:00 | |
RE: State Machines | 01/01/70 00:00 | |
RE: LCD Based Menu system | 01/01/70 00:00 | |
RE: LCD Based Menu system | 01/01/70 00:00 | |
RE: LCD Based Menu system | 01/01/70 00:00 | |
RE: Function pointers in Keil C51 | 01/01/70 00:00 | |
RE: Function pointers in Keil C51 | 01/01/70 00:00 | |
RE: Function pointers in Keil C51 | 01/01/70 00:00 | |
RE: LCD Based Menu system | 01/01/70 00:00 | |
RE: LCD Based Menu system![]() | 01/01/70 00:00 | |
RE: LCD Based Menu system | 01/01/70 00:00 | |
RE: LCD Based Menu system | 01/01/70 00:00 |