![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
Kenda Guest
|
Need idea on menu definition |
Posted: Mon Nov 30, 2009 4:39 pm |
|
|
Hi.
I need your suggestion on how to define one menu concept.
I have one completed solution but i want to improve this.
My menu should be dynamic and the values will be dynamically changed per rs232. Basically this is what is going to happen:
1.) PC sends some structures ( objects ) to rs232 terminal.
2.) I read those structures and depending on them i define the "look" of menu.
This means that the DATA on and in menu could be changed by "updating" data and value from the PC. Menu structure should be defined according to new incoming data.... from the PC.
Example:
This is old data:12
Pc send update...
You entered new value: 25
As you can see, menu should be capable of changing most of the data the he receives from PC. This data can be integer, char, array etc.
On the PC side, all this is done with object and structures.
But on the terminal side the situation is bit complex.
My idea is based on defining dynamic variables and same objects on terminal as they are on PC, but i'm not sure if i will be able to read and process this objects on my terminal.
Any suggestion is welcome! |
|
![](templates/subSilver/images/spacer.gif) |
Guest
|
|
Posted: Tue Dec 01, 2009 4:01 pm |
|
|
Hi,
I'm not really sure what you want to do, but if you want to change texts on an LCD driven from the PIC, why not store the strings in external EEPROM? PC could change content via PIC or direct via I2C-adapter.
Sorry if this is far from your goals..
/BdeB |
|
![](templates/subSilver/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|