1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Moving libraries out from inside targets and creating bootloaders directory.

This commit is contained in:
David A. Mellis
2007-10-06 13:04:46 +00:00
parent db1f041ce1
commit 7413c79c7d
36 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,21 @@
/*
* EEPROM Clear
*
* Sets all of the bytes of the EEPROM to 0.
*/
#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()
{
}