<h1>Write Any value to internal EEPROM </h1>
<p class="abstract">
How to write struct to internal EEPROM . 
</p>


_"EEPROM, stands for Electrically Erasable Programmable Read-Only Memory and is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed, e.g., calibration tables or device configuration. 
EEPROM is user-modifiable read-only memory (ROM) that can be erased and reprogrammed (written to) repeatedly through the application of higher than normal electrical voltage generated externally or internally in the case of modern EEPROMs."_


Atmega328 microcontroller has an internal EEPROM memory of 1024 bytes. This article illustrates how to use this memory to store permanent values.

<p class="info">According to the specifications of Atmel's datasheet, the internal EEPROM has a life of 100000 cycles of write/erase.</p>

## Write internal EEPROM

Write struct to internal EEPROM: 
<span class="github" user="Madefree" project="playground" file="EEPROM_struct/write_eeprom_struct.pde">write_eeprom_struct.pde</span>

<h3> Serial results</h3>

<img src="./bee_write_eeprom.png" />

## Read internal EEPROM

Read stored struct:
<span class="github" user="Madefree" project="playground" file="EEPROM_struct/read_eeprom_struct.pde">read_eeprom_struct.pde</span>

<h3> Serial results</h3>

<img src="./bee_read_eeprom.png"/>

## Related links

* [Wikipedia EEPROM definition](http://en.wikipedia.org/wiki/EEPROM)


@shop='BEEBOARD'
@shop='BEEKIT-1'
@shop='BEEKIT-2'

