Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : uM Saving data during powerdown.
Author | Message | ||||
hwholmes Newbie Joined: 30/05/2014 Location: United StatesPosts: 10 |
I need to restore variables to their last value upon restarting a micromite. I assume that I need to get this into flash but so far the command to do it alludes me. I think I am looking for a cross between DATA (only for constants) and POKE (which doesn't seem to have a flash target). I do not want to use anything but the uM itself, no external storage. I think it should be possible but so far I can't figure it out. Bert |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8584 |
VAR SAVE and VAR RESTORE uM MkII manual page 57 |
||||
hwholmes Newbie Joined: 30/05/2014 Location: United StatesPosts: 10 |
Thank you matherp - I thought something was there and totally missed it. Bert |
||||
WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2794 |
MatherP just beat me to it - follow his link to the User Manual. If you still have issues then post back . . . WW EDIT: Reference is on Page 58 (not 57 of this version of the User Manual). ALSO look on page 13 For everything Micromite visit micromite.org Direct Email: whitewizzard@micromite.o |
||||
Print this page |