Chilly
New Member
Using HiTech C. I have a program that has a 6 case menu. Each case displays system settings that are currently running. There's 4 buttons controlling
menu up, menu down, value up and value down which controls the 5 system variables.
I've added a case whereby I can save the current settings to eeprom. I'm also able to read back the settings. What I'd like to do is insert into system variables my settings. I have an if statement. Interrupt is setup. Something like,
I've tried searching but don't exactly know what I'm looking for. If someone could point me in the right direction.
menu up, menu down, value up and value down which controls the 5 system variables.
I've added a case whereby I can save the current settings to eeprom. I'm also able to read back the settings. What I'd like to do is insert into system variables my settings. I have an if statement. Interrupt is setup. Something like,
Code:
If button down{
change(system_variables) with (eeprom_settings) ;
}