declared and uses i2c_msg record, added eeprom example