store value in eeprom before starting

Status
Not open for further replies.

mshh

Full Member level 6
Joined
May 30, 2010
Messages
349
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
usa
Activity points
3,871
I have lcd connected to microcontroller, and i want to sore numbers using external push buttons, but i want to store values before entering the processing mode. for instance microcontroller is off then i want to push a button to enter (X mode) to adjust parameters then exit this mode and restart to enter the operation mode( like enter configuration mode of devices while they are turned off). How to do this?
 
Last edited:

could you give me example ? or video for this process
 

could you give me example ? or video for this process

I think you will have no difficult looking for examples of state machine (SM) implementations, so instead I would suggest you just draw a draft of the whole process by focusing on the menu options where each SM state represents one menu option, and each subsequent sub-menu option, a state right below, at which you can go upon a combination of the previous state and pressing one key. On the code side, you can implement a state with the switch...case statements.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…