Timeline for Can you save data to heap section in Arduino memory?
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 20, 2019 at 14:37 | history | edited | Michel Keijzers | CC BY-SA 4.0 |
added 1 character in body; edited title
|
Jan 20, 2019 at 14:31 | vote | accept | Stel Team | ||
Jan 20, 2019 at 14:03 | answer | added | Majenko | timeline score: 4 | |
Jan 20, 2019 at 14:00 | comment | added | Stel Team | @Majenko Thanks! It will be great if you can post that as answer. | |
Jan 20, 2019 at 13:41 | comment | added | Majenko | Yes. Like you lose your word document when you unplug the power from your computer. | |
Jan 20, 2019 at 13:40 | review | First posts | |||
Jan 20, 2019 at 16:35 | |||||
Jan 20, 2019 at 13:39 | comment | added | Stel Team | @Majenko So I will lose the data when Arduino is powered off right? | |
Jan 20, 2019 at 13:37 | comment | added | Majenko |
Yes, you can use malloc (though it's seldom a good idea on such a small memory system). Will it get "cleaned"? No. It will get lost. There is no such thing as "cleaned". You remove the power the memory is erased. With no power to maintain the memory state there is no memory to "clean". And nothing to do that "cleaning".
|
|
Jan 20, 2019 at 13:35 | history | asked | Stel Team | CC BY-SA 4.0 |