Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/*
EEPROM CLEAR
Cambia todos los bytes de EEPROM a 0
*/
#include <EEPROM.h>
void setup()
{
for (int E = 0; E < EEPROM.length(); E++)
{
EEPROM.write(E, 0); // Itera por toda la EEPROM y reemplaza cualquier valor que esté en algún byte por cero
}
}
void loop()
{
// Loop vacío
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.