Convert an I²C write or read byte to a seven-bit address
Some datasheets write the address together with the direction bit.
0 of 3 complete · Progress saved on this device
Work out the example
Some datasheets write the address together with the direction bit. An on-wire write byte of 0x78 and read byte of 0x79 refer to the same seven-bit address. The lowest bit selects direction.
Decide what to check next
For Arduino Wire, supply the seven-bit address (0x3C here). Read the manufacturer’s notation first. A datasheet that already lists 0x3C needs no shift.
Compare with the serial result
Both rows print 3C. No I²C device is needed.
Open the exact Uno example
Both rows print 3C. No I²C device is needed.
void setup() {
Serial.begin(9600);
Serial.println(0x78 >> 1, HEX);
Serial.println(0x79 >> 1, HEX);
}
void loop() {}Verified with [email protected] on Uno R3 (2026-12-05 UTC). This check did not use physical hardware.