ubuntu 上使用 i2ctools

it2025-08-08  15

安装i2ctools sudo apt-get install i2c-tools

检测i2c总线 i2cdetect -r -y 1

写 i2ctransfer -f -y 1 w3@0x36 0x50 0x81 0x01

读 i2ctransfer -f -y 1 w2@0x36 0x30 0x0a r3

欢迎光临我的淘宝店: https://shop113189537.taobao.com/?spm=a211vu.server-web-home.sellercard.15.64f02d58fKtmoz

最新回复(0)