#ifndef eepromaccessH
 #define eepromaccessH

 #include <avr/eeprom.h>

 inline s08  eepromReadByte  ( const char& adr) { return (s08)eeprom_read_byte( (uint8_t*) &adr ); };
 inline char eepromReadByte2 ( char adr )       { return (char)eeprom_read_byte( (uint8_t*)adr ); };
 inline void eepromWriteByte ( const char& adr, s08 data) { eeprom_write_byte( (uint8_t*) &adr, data ); };
 inline void eepromWriteByte2( char adr, s08 data)        { eeprom_write_byte( (uint8_t*) adr, data ); };

#endif