• AVR Freaks

Menu driven AN in C

Author
android
Senior Member
  • Total Posts : 144
  • Reward points : 0
  • Joined: 2009/03/23 00:31:24
  • Location: 0
  • Status: offline
2009/05/06 06:28:11 (permalink)
0

Menu driven AN in C

Hi all,

Is there an Application note available for writing a menu driven program. For e.g., like when someone presses a keypad the display changes to something else asking for an input. After inputs are provided, the changes are saved in eeprom and it proceeds to the main screen (any display type).

I am doing the same in my own way but I just had a feeling that there might be a better and well organised way to do the same.

Thanks in advance for any reference.

Regards.
#1

12 Replies Related Threads

    jmag99
    Super Member
    • Total Posts : 486
    • Reward points : 0
    • Joined: 2007/09/21 08:04:33
    • Location: RI, United States
    • Status: offline
    RE: Menu driven AN in C 2009/05/06 06:51:49 (permalink)
    0
    Someone wrote a nice web page about how to do this.  They were using a VFD display and all the menus were in structures.  I am trying to find the link now, but you might search on google for it too.
    #2
    android
    Senior Member
    • Total Posts : 144
    • Reward points : 0
    • Joined: 2009/03/23 00:31:24
    • Location: 0
    • Status: offline
    RE: Menu driven AN in C 2009/05/06 07:00:40 (permalink)
    0
    Well thanks jmag99,

    I am trying. If you find the same, do post it.

    Thanks a lot.
    #3
    android
    Senior Member
    • Total Posts : 144
    • Reward points : 0
    • Joined: 2009/03/23 00:31:24
    • Location: 0
    • Status: offline
    RE: Menu driven AN in C 2009/05/06 07:15:20 (permalink)
    0
    Is this the code you are referring to jmag99.

    LCD interface example
    #4
    jmag99
    Super Member
    • Total Posts : 486
    • Reward points : 0
    • Joined: 2007/09/21 08:04:33
    • Location: RI, United States
    • Status: offline
    RE: Menu driven AN in C 2009/05/06 07:44:32 (permalink)
    0
    This is the one I was thinking of:

    http://reifel.org/PICUserInterface/

    Probably more advanced than you are looking for, but it might give you some ideas.
    #5
    android
    Senior Member
    • Total Posts : 144
    • Reward points : 0
    • Joined: 2009/03/23 00:31:24
    • Location: 0
    • Status: offline
    RE: Menu driven AN in C 2009/05/06 07:48:19 (permalink)
    0
    Thanks jmag99,

    I was eagerly waiting for the same. Will have a check and let you know.

    I am working on an industrial meter for liquid flow measurement. I am using dspic30F.

    Thanks for your post.

    Regards.
    #6
    android
    Senior Member
    • Total Posts : 144
    • Reward points : 0
    • Joined: 2009/03/23 00:31:24
    • Location: 0
    • Status: offline
    RE: Menu driven AN in C 2009/05/06 22:45:40 (permalink)
    0
    Hi jmag99,

    The link you gave is really excellent. I have gone through it.

    Thank you once again for it.

    Regards.
    #7
    Neiwiertz
    Super Member
    • Total Posts : 2094
    • Reward points : 0
    • Joined: 2004/09/01 02:58:52
    • Status: offline
    RE: Menu driven AN in C 2009/05/08 10:06:40 (permalink)
    0
    Fun explained a more "technical" explain could be readed at an article of Aubrey Kagan "Hierarchical Menus in Embedded Systems"

    Flying With --|Explorer 16|HardWare|SoftWare|-- Fav(s) Gallery Lists
    #8
    android
    Senior Member
    • Total Posts : 144
    • Reward points : 0
    • Joined: 2009/03/23 00:31:24
    • Location: 0
    • Status: offline
    RE: Menu driven AN in C 2009/05/14 05:16:15 (permalink)
    0
    Hi Neiweirtz,

    Fun explained a more "technical" explain could be readed at an article of Aubrey Kagan "Hierarchical Menus in Embedded Systems"


    Do you have a link for the article.
    #9
    Neiwiertz
    Super Member
    • Total Posts : 2094
    • Reward points : 0
    • Joined: 2004/09/01 02:58:52
    • Status: offline
    RE: Menu driven AN in C 2009/05/14 09:05:00 (permalink)
    0
    That article was published at Circuit Cellar November 2003 more over can be readed here

    http://www.circuitcellar.com/archives/titledirectory/141to160.html
    http://www.dtweed.com/circuitcellar/caj00160.htm

    Flying With --|Explorer 16|HardWare|SoftWare|-- Fav(s) Gallery Lists
    #10
    android
    Senior Member
    • Total Posts : 144
    • Reward points : 0
    • Joined: 2009/03/23 00:31:24
    • Location: 0
    • Status: offline
    RE: Menu driven AN in C 2009/06/08 23:52:01 (permalink)
    0
    Hi Neiweirtz,

    Thanks for the link. I searched, but was unable to locate the article as you suggested.

    Anyway, the link provided by jmag99 helped me a lot and now my application is up and running.

    Just to customize key_events.

    Regards, android.
    #11
    Neiwiertz
    Super Member
    • Total Posts : 2094
    • Reward points : 0
    • Joined: 2004/09/01 02:58:52
    • Status: offline
    RE: Menu driven AN in C 2009/06/09 11:31:21 (permalink)
    0
    Good to let know here, for more reading about this subject:
    The article from Aubrey Kagan "Hierarchical Menus in Embedded Systems" it is mentioned at toc here

    Flying With --|Explorer 16|HardWare|SoftWare|-- Fav(s) Gallery Lists
    #12
    android
    Senior Member
    • Total Posts : 144
    • Reward points : 0
    • Joined: 2009/03/23 00:31:24
    • Location: 0
    • Status: offline
    RE: Menu driven AN in C 2009/06/10 01:42:09 (permalink)
    0
    Thanks for the link Neiwiertz.
    #13
    Jump to:
    © 2019 APG vNext Commercial Version 4.5