Wire.h Library Better

Once the request was sent, the library checked the Wire.available() buffer. This was the mailbox. The Master would then sit and wait, pulling bytes out of the mailbox one by one using Wire.read() .

void loop() Wire.beginTransmission(0x3C); // Start transmission to device address 0x3C Wire.write(0x00); // Send command byte Wire.write(0x01); // Send data byte Wire.endTransmission(); // Stop transmission wire.h library

The Master steps up to the podium. It doesn't shout, "Hey you!" It shouts a specific 7-bit number. Once the request was sent, the library checked the Wire