add function of single byte write to Twi library