## EEPROM read/write

This library allows to perform EEPROM read/write in polling mode. It also contains code to statically initialize EEPROM data (see section hints and tips for details). Please comment out or modify this code (see `ee_init()` routine to fit to your own needs).

1. `void ee_init()`

   Initializes EEPROM subsystem in polling mode.This routine also contains code to statically initialize EEPROM data (see section hints and tips for details). This code may have to be edited to fit your needs.

2. `unsigned int ee_read8(unsigned long addr)`

   Returns the 8 bit data located at address `addr`.

3. `unsigned long ee_read16(unsigned long addr)`

   Returns the 16 bit data located at address `addr`.

4. `void ee_write(unsigned long addr, unsigned int value)`

   Writes 8 bit value at address `addr`.

5. `void ee_write16(unsigned long addr, unsigned long value)`

   Writes 16 bit value at address `addr`.

6. `unsigned int ee_inc8(unsigned long addr)`

   Increments 8 bit value located at address `addr`. Return the incremented value.

7. `void ee_inc16(unsigned long addr)`

   Increment 16 bit value located at address `addr`.

8. `void ee_refresh()`

   Performs EEPROM refresh as recommended by Microchip data sheet, for very long time data retaining. This routine is not really tested, but I used it, and data have not been destroyed.