Thanks, Darrel. I really like your program and am starting to experiment with it. The way I was working with EEProm Vars was quite the convoluted mess with the same problems you mentioned in your EE_Vars documentation. Hopefully this will make life easier.
So from what I understand if I just set the value in EE_start to zero everything gets reinitialized when I reset the pic.
So if I use EE_Vars to link numerous variables as follows:
msType VAR SysDat[51]:@ EE_var _msType, WORD, 0
Does the compiler insert the macro code for each variable? Is there a lable created by the macro to find the default values for each variable? I'm just trying to understand how this works a little better.
I have a case where I may want to loop through a group if variables and save them to EEProm, is there a way to do this using EE_Vars.
Can you recomend any reading to better familiarize myself with macros?
Thanks again for your help and for posting the EE_Vars program.
Bookmarks