Some of these addresses are fixed. You've connected the MCP9808 which has a 7-bit I2C. 6B = 1101011 needs only 7 bits to represent it. . " text is printed. Well normally for simple 8 bit binary to hex conversion you just take the 8 bits formed (the I2C standard assumes a bit 0 read/write bit 0=read, 1= write: first example:. All I2C addresses here are in 7-bit format Special cases: PCA9685 can use any address between 0x40 to 0x7F. Within that page, find the header for the I2C Address you'd like to add to. A mis-wired board may hang the sketch after the "Scanning. 7. . This is a nice general purpose communication bus that only. This is a nice general purpose communication bus that only. Here I have explained How to find I2C address of I2C devices connected with Raspberry. beginTransmission (address); error = Wire. Store a in address $0900.