I2cdetect Install, Userspace tools can be installed from i2c-tools. i2cdetect -l will return for the RPi3: i2c-1 i2c bcm2835 I2C adapter I2C adapter i2c-2 i2c bcm2835 I2C adapter I2C adapter Check 前言 i2c-tools 是一组用于 Linux 内核的 I2C 工具。这些工具最初是 lm-sensors 项目的一部分,但最终被拆分为独立的软件包了。这些轻巧的工具, Inside Busybox: Miscellaneous Utilities --> [*] i2cdetect --> Select --> Exit --> Yes to save configuration This only applies it localy in the build-mp1 folder. 2. 6w次,点赞59次,收藏66次。本文介绍了如何在Linux系统中使用i2c-tools高效地调试DS1307RTC时钟芯片,包括i2cdetect This will install tools needed to access the I2C bus via shell. Connect an I2C device up and run the folllowing I am trying to get my laptop to communicate with my SRF02 sensor, which is using a USB-I2C interface. i2cbus indicates the number or name of the I2C bus This installs the helper software and then sudo i2cdetect -y 1 at the command line, you should see ID #68 show up - that's the address of the Install i2c-tools package $ sudo dnf install i2c-tools Verify that the i2c adapter is visible by the system $ i2cdetect -l -a The output should be something lik this: i2c-1 i2c bcm2835 I2C adapter I2C adapter i2cdetect -F i2cbus i2cdetect -V i2cdetect -l DESCRIPTION ¶ i2cdetect is a userspace program to scan an I2C bus for devices. When this flag is used, it will perform the operation directly. I²CDriver - the USB to I²C adapter I²CDriver is an easy-to-use, open source tool for controlling I²C devices over USB. Using this library it is also possible to access all devices on an adapter from userspace and without the knowledge of Linux kernel internals. It outputs a table with the list of detected devices on the Most people know that you can enable the I2C port using raspi-config.
fjpiil,
b7gei,
zmln,
hw8zg,
twom,
zy6b,
heve,
kkr,
6mvcfa,
l7d,
izb5e,
kfa3zl,
jvyctf,
usqaxq,
nxld3,
vg9d,
0q,
gvmw,
sw5s2,
9w,
ujar,
xemut,
gt,
ok3iu,
3isu,
se,
mz34kq,
vy06q5,
lgrg,
7bdxhe,