MM DS3231, BMP180 and I2C
| Author | Message | ||||
TassyJim![]() Guru Joined: 07/08/2011 Location: AustraliaPosts: 6624 |
Sorry, I missed that bit. For the BMP180 My version of the data sheet: ![]() The binary 1110111 is the same as 77 hex The data sheet also talks about EE for write and EF for read. That's just adding a zero or one onto the end of the binary number 11101110 = EE = write 11101111 = EF = read The Micromites add the read or write bit as required so we stick with the 7 bit address. With all I2C addressing, you need to work out if the datasheet is using 8bits (with the direction included) or 7 bits. Fortunately, most data sheets show the address in binary at some stage so it's relatively easy to sort out. If you have Windows10, the calculator in programmers mode is handy for converting to/from binary Jim VK7JH MMedit |
||||