// must be called in: // slave tx event callback // or after beginTransmission(address) int TwoWire::write(uint8_t* data, uint8_t quantity) { return(di2c.write((const byte *) data, quantity)); }
// must be called in: // slave tx event callback // or after beginTransmission(address) int TwoWire::write(uint8_t data) { return(di2c.write((const byte *) &data, 1)); }