I have lately been flashing a bunch of Arduino micro-controllers with GRBL and I had a small issue where an older version of GRBL’s settings were stuck in the Arduino’s EEPROM.
To get around this I used a quick script from the Arduino website to clear it. I thought it would be useful for people who want to clear GRBL’s setting or make it reset to its defaults.
#include <EEPROM.h>
void setup()
{
// write a 0 to all 512 bytes of the EEPROM
for (int i = 0; i < 512; i++)
EEPROM.write(i, 0);// turn the LED on when we’re done
digitalWrite(13, HIGH);
}void loop()
{
}
Thank you for sharing this information