mpmcws

Clear EEprom

Aug 16th, 2018
39
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <EEPROM.h>
  2. void setup() {
  3.   pinMode(13, OUTPUT);
  4.   for (int i = 0 ; i < EEPROM.length() ; i++) {
  5.     EEPROM.write(i, 0);
  6.   }
  7.   digitalWrite(13, HIGH); //done!
  8. }
  9. void loop() {
  10.  
  11. }
RAW Paste Data