From: <Rob...@fr...> - 2001-02-26 14:25:33
|
Hello, Bruce Winter je napisal: > All we have at the moment is mh/code/bruce/lcdproc.pl. It talks to the > lcdproc server that supports the Matrox lcd with keypad via sockets. That > could be used as a starting point to create a module/object with easy to use > functions/functions for lcd menus like you propose. Actually, after looking > at it, it does not look that general. A fresh start might be better. > > What sort of controlers and LCD keypads do you have? > Well, I need really general concept of talking to mh. I have 2x16 character LCD and 4 keys - in mobile manner. Mh would be talking directly with controller via sending strings of options, user can browse through options and when user pushes 'accept' key then controller sends back to mh the user's choice. Then mh decides what to do next. So the implementation of lcd menu object could be really general: getting options from it and return choices. In object original mh commands depending on received choices could be performed. How the messages are transferred to LCD and choices are returned is another story that stays out of object. For example (I have option to run mp3, or get current temperature in specific room): - mh sends sends array of 2 strings ('mp3', 'temperature') - user browses through options with 'left' & 'right' keys to pick one of them - then user pushes 'accept' key - controller sends back message to mh that user chose mp3 for instance - mh than continues with dialog on another level (picking author, type of songs etc.) So I think we're talking about something similar to WAP pages - stripped off web pages cause of limitations of user interface. I think that kind of object could be of great help also to other users and in future for structuring WAP pages. User could through some configuration files decide what subset of commands he wants to be available and there he goes. Thanks for all the effort, regards, Robert Rozman > > Bruce > > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |