Skip to content

Instantly share code, notes, and snippets.

@iotguider
Created May 15, 2018 13:32
Show Gist options
  • Save iotguider/94ed047d2533f6e2e468acc405f96fce to your computer and use it in GitHub Desktop.
Save iotguider/94ed047d2533f6e2e468acc405f96fce to your computer and use it in GitHub Desktop.
Code for Writing in EEPROM
#include <EEPROM.h>
String a = "iotguider";
void setup() {
// put your setup code here, to run once:
for(int i=0;i&lt;a.length();i++)
{
EEPROM.write(i,a.charAt(i));
}
}
void loop() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment