Complete the code to start the I2C communication as a master.
Wire.[1]();The Wire.begin() function initializes the I2C bus as a master.
Complete the code to send a byte of data over I2C.
Wire.[1](0x42);
The Wire.write() function sends data bytes to the I2C device.
Fix the error in the code to request 4 bytes from a device with address 0x3C.
Wire.requestFrom([1], 4);
The device address must be the 7-bit I2C address, here 0x3C.
Fill both blanks to start transmission to address 0x50 and end it properly.
Wire.[1](0x50); Wire.[2]();
beginTransmission() starts communication with the device, and endTransmission() ends it.
Fill all three blanks to read bytes from a device and store them in a variable.
int data = Wire.[1](); while(Wire.[2]()) { data = Wire.[3](); }
Wire.available() checks if data is ready to read, and Wire.read() reads the data byte.
