I have an arduino code with an SD card where I save some data. When I load a new code, The SD must update with the new data that I put in the code, but if I reset the Arduino by the reset button, I don“t want the SD data to change.
To sum up, I want to reload SD data only when I update the code, and not with hardware reset
Any ideas?