Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/16/10 15:02
Read: times


 
#175091 - I believe that is what most devices do..
Responding to: ???'s previous message
...such as modems, GSM Modems, PC-BIOSs, Mobile phones, FAX Machines, etc.
They have an option of resetting all the parameters to factory settings (default settings).
Its just a matter of calling a function to set the settable values to default values and save them in EEPROM. Such as:

void LoadDefaults (void)
{
SetValue1=100;
SetValue2=100;
HighLimit=1000;
LowLimit=0;
...
...
...
SaveToEEPROM ():

return ;
}



List of 15 messages in thread
TopicAuthorDate
Loading Flash EEPROM with defaults            01/01/70 00:00      
   this seems to work - any improvements            01/01/70 00:00      
      Always a key requirement!            01/01/70 00:00      
         toolchain dependent            01/01/70 00:00      
   A couple of points            01/01/70 00:00      
      volatile            01/01/70 00:00      
         separate source            01/01/70 00:00      
         So subtle            01/01/70 00:00      
      Excel is (also) among your friends            01/01/70 00:00      
         Yes missing initialisers do default to 0            01/01/70 00:00      
   My Method...            01/01/70 00:00      
   an alternate suggestion (which I use)            01/01/70 00:00      
      That uses more memory            01/01/70 00:00      
         Oliver ???            01/01/70 00:00      
         I believe that is what most devices do..            01/01/70 00:00      

Back to Subject List