add ability to write to EEPROM

How to write over 255 i use intiger but somehow it cant compile if i don't use char?