CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Need idea on menu definition

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Kenda
Guest







Need idea on menu definition
PostPosted: Mon Nov 30, 2009 4:39 pm     Reply with quote

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!
Guest








PostPosted: Tue Dec 01, 2009 4:01 pm     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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