The address of the device is 0x36. That is in the top 7 bits of the byte sent to i2c. The bottom bit is the read/write control.
0x36 = 0110110
Put a 0 on the end for Write and you get 01101100 = 0x6C
Put a 1 on the end for Read and you get 01101101 = 0x6d
You only need to supply the address, the i2c routines take care of adding the read/write bit.
0x36 = 0110110
Put a 0 on the end for Write and you get 01101100 = 0x6C
Put a 1 on the end for Read and you get 01101101 = 0x6d
You only need to supply the address, the i2c routines take care of adding the read/write bit.
Statistics: Posted by rpdom — Sun Jan 14, 2024 3:01 am