added eeprom functions, updated examples
fixed doc