I have a program I want to make which will ask to see whether a variable already exists. If it does, it displays it, if it does not, it creates it and stores it in the Arduino using the PROGMEM command. Can someone explain more about PROGMEM and how to make the program I’m talking about?
Share
Generally speaking if you are creating any variables in functions they are existing only there when function is closed all variables are deleted. If you want to keep them alive try to create global variables or use static before it;
like here
And here is answer for your question
solution for eeprom
EEPROM Read
Reads the value of each byte of the EEPROM and prints it to the computer.
I hope I helped.