w80x i2c應該如何讀數據

發布於 2024-07-06 16:33:12

image.png
image.png

我參照demo來寫i2c通信data一直是0讀不到數據,請問該怎麼寫?

查看更多

關注者
0
被浏覽
890
AnatolSher
AnatolSher 認證專家 2024-07-06
Lover of the ocean, yachts and Arduino

Which I2C device do you want to write or read data to?

2 個回答
abcd
abcd 認證專家 2024-07-08
我只是個路過的老年人~

你的實現邏輯沒有按照I2C的時序來實現。熟悉下I2C的時序,參照demo裡的AT24CXX_ReadOneByte、AT24CXX_WriteOneByte來實現。

撰寫答案

請登錄後再發布答案,點擊登錄

發布
問題

分享
好友

手機
浏覽

掃碼手機浏覽