Wire Library Arduino ((top)) -

#include <Wire.h> void setup() Serial.begin(9600); Wire.begin();

void loop() // Send register address to read (e.g., 0x00) Wire.beginTransmission(0x68); // MPU6050 address Wire.write(0x00); Wire.endTransmission(false); // Send restart wire library arduino

delay(500);

Slave (Arduino #1):

if (Wire.available() >= 2) lsb; Serial.println(data); #include &lt;Wire

// Request 2 bytes from slave Wire.requestFrom(0x68, 2); void setup() Serial.begin(9600)