This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好,抱歉回复晚了,我想您读取的时序应该不对的。P1引脚给了一个高电平, 那么寄存器bit1应该读取为高电平,在读之前,应该先有一个对寄存器进行写的操作,不能直接读。时序是这样的:
Start+7 bit slave address+Write0+ACK+Register address(Register0)+ACK+Restart+7 bit slave address+Read(1)+ACK+Register 0 data