Jump to content

Multi Level LCD Menu in C


philetaylor

Recommended Posts

basically what i did was set various modes the application can be in, and called a custom display formatting function based on the mode it's in.

I have found this (well I don't think it was lost....)

http://www.bytecraft.com/apps/cop8capp.pdf

The menu that they use in this sample appears to be quite configurable but I have been struggling to port it to SDCC....

That systemuses , as do TK's, the strategy ultra mentioned of holding a flag or flags which tell the update function what to do. Although it should work on SDCC with minimal changes, it's probably better to use something a bit lighter. You can use switch statements to call functions, and it'll build a nice fast jumptable.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...