I want my variables to maintain the new value they got from void loop() and not reset when arduino is turned off then back on.
Here is an example I have been trying on:
Consider the use of an SD card and write the values to be saved to it each time they are changed then read them back in setup() when the board is powered up
Does this apply the same way to uploading code?
= does this mean after uploading code for 10.000 times (not that easy to reach a number of 10.000 times uploading code ) but out of scientific curiosity:
After 10.000 times uploading code the flash-memory starts to become unreliable?