Searching \ for '[PIC]Menue system, or do I need to reinvent the wh' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/microchip/devices.htm?key=pic
Search entire site for: 'Menue system, or do I need to reinvent the wh'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]Menue system, or do I need to reinvent the wh'
2006\02\10@031203 by Tomas Larsson

flavicon
face
Is there any C-code examples for a n-Level menue system avaible.

Or do I have to reinvent the wheel.

I have searched quite a lot, but sofar I nothing.

With best regards

Tomas Larsson
Sweden
http://www.naks.mine.nu for downloads etc.
ftp://ktl.mine.nu for uploads. Or use the free http://www.yousendit.com service.

Verus Amicus Est Tamquam Alter Idem


2006\02\10@033618 by Michael Rigby-Jones

picon face
The AVR butterfly has been re-written in for GCC, and that includes a multi-level menu IIRC.

http://www.siwawi.arubi.uni-kl.de/avr_projects/bf_gcc_20060107b.zip

Regards

Mike



>{Original Message removed}

2006\02\10@040209 by Tomas Larsson

flavicon
face
Thanx, I'll have a look.

With best regards

Tomas Larsson
Sweden

Verus Amicus Est Tamquam Alter Idem

> {Original Message removed}

2006\02\10@111440 by Harold Hallikainen

face picon face

> Is there any C-code examples for a n-Level menue system avaible.
>
> Or do I have to reinvent the wheel.
>
> I have searched quite a lot, but sofar I nothing.
>


I'll be interested in seeing what people come up with. Thus far I've used
"nested state machines" written in C or assembly. Each menu level has its
own state and a call table. When waiting for user input, the menu system
exits with its current state, and the system goes on to handle other
stuff. When the menu system is called again, it goes through all the call
tables to get to the current nested state. If there has been no user
input, it exits again. If there has been user input, it deals with it,
updates the display (alphanumeric LCD), updates the state, then exits. My
menu systems use four keys (left, right, up, down), and work the same as
the lynx web browser. Up and down move you through selections. Right
selects something. Left drops you down a menu level towards the root menu.

Harold


--
FCC Rules Updated Daily at http://www.hallikainen.com

2006\02\10@114849 by Mauricio Jancic

flavicon
face
I've made and sold a menu system. It is oriented for high end PICs, like the
18F452 or similar procesors.

The basic Idea is to have an array of screens like:

       /****** PANTALLA 4 ******/
               {
                 {"  > INSTALLATION <  "},
                 {"     +Peak Level    "},
               },
                       /****** PANTALLA 5 ******/
                       {
                         {"     +PEAK LEVEL    "},
                         {"  Asymmetry +    %  "},
                       },
               /****** PANTALLA 6 ******/
               {
                 {"  > INSTALLATION <  "},
                 {"    Output Level    "},
               },
                       /****** PANTALLA 7 ******/
                       {
                         {"    OUTPUT LEVEL    "},
                         {"            dBu     "},
                       },
               /****** PANTALLA 8 ******/
               {
                 {"  > INSTALLATION <  "},
                   {"     Band  Width    "},
               },


(Pantalla means screen in Spanish)

There are other arrays wich contain information indication which parameters
are to be printed on aeach screen and where. For example screen number 7.

There is also an easy way to decide which screen must be printed, like in a
menu tree system.

This whole system was implemented using a JOG encoder and two pushbuttons
(SET and CANCEL).

The depth of this menu system (on this equipment for example) is 73 screens
with 8 subscrens in the biggest branch of the tree. It manages an prints 36
parameters, including date and time.

Regards,

Mauricio Jancic
Janso Desarrollos
Microchip Consultant Program Member
spam_OUTinfoTakeThisOuTspamjanso.com.ar
http://www.janso.com.ar
+54 11 4542 3519

> {Original Message removed}

2006\02\11@023303 by Xiaofan Chen

face picon face
On 2/10/06, Tomas Larsson <.....tomaslarssonseKILLspamspam@spam@yahoo.se> wrote:
> Is there any C-code examples for a n-Level menue system avaible.
>

I am not so sure if the PICDEM2+ demo source count as
n-level menu system.

Here is the C18 based example from Jason Kajita of Microchip:
http://forum.microchip.com/tm.aspx?m=135311

Regards,
Xiaofan

More... (looser matching)
- Last day of these posts
- In 2006 , 2007 only
- Today
- New search...