Quantcast
Channel: MPLAB XC32
Viewing all articles
Browse latest Browse all 1537

Preserve a variable after reset (Miki Lauda)

$
0
0
Hi! I would like to count program resets. I thought it a good idea to declare a variable in the program memory and increment it after reset. But when I increment resetcounter variable, program halt. (MPLAB X IDE v1.41; XC32 v1.10, PIC32MX150F128B) int __a..

Viewing all articles
Browse latest Browse all 1537

Trending Articles



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