uint8_t endTransmission();
Ends the communication with the slave assigned by beginTransmission() and transmits the data buffered by write() to the slave.
Number of bytes of data sent to slave(unit:byte).
#include <Wire.h> void setup() { Wire.begin(); } void loop() { Wire.beginTransmission(0x27); Wire.write('a'); Wire.endTransmission(); }
Wire.h
TwoWire Class