![]() |
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: 10248 |
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: 2933 |
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 ![]() |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |