proyecto para la realizacion de un altimetro con base ... - Tripoli Spain
proyecto para la realizacion de un altimetro con base ... - Tripoli Spain
proyecto para la realizacion de un altimetro con base ... - Tripoli Spain
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
APENDICE 2: PROGRAMA DE LIMPIEZA DE MEMORIA<br />
(A usar si se ha llenado <strong>la</strong> memoria <strong>de</strong>spués <strong>de</strong> 100 <strong>la</strong>nzamientos.)<br />
/*<br />
* EEPROM Clear<br />
*<br />
* Sets all of the bytes of the EEPROM to 0.<br />
* This example co<strong>de</strong> is in the public domain.<br />
*/<br />
#inclu<strong>de</strong> <br />
void setup()<br />
{<br />
// write a 0 to all 512 bytes of the EEPROM<br />
for (int i = 0; i < 512; i++)<br />
EEPROM.write(i, 0);<br />
}<br />
// turn the LED on when we're done<br />
digitalWrite(13, HIGH);<br />
void loop()<br />
{<br />
}<br />
28