Quantcast
Channel: MPLAB Harmony
Viewing all articles
Browse latest Browse all 7442

Persist data in internal flash (luker)

$
0
0
Hi forum, when trying to store some settings so they keep their values after power-cycling the device, I tried this//settings.c

int persistentInt __attribute__((persistent, section(".persist")));

// Save settings

persiste..


Viewing all articles
Browse latest Browse all 7442

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>