I2C 接口
使用 Raspberry Pi® 的 I2C 接口
使用 Raspberry Pi I2C 接口连接和控制设备
函数
scanI2CBus | Scan I2C bus device addresses |
read | Read data from I2C device |
write | Write data to I2C device |
readRegister | Read from register on I2C device |
writeRegister | Write to register on I2C device |
enableI2C | |
disableI2C |
主题
- Use the Raspberry Pi I2C Interface to Connect to a Device
Use the I2C interface on the Raspberry Pi hardware.
- Raspberry Pi I2C Interface
I2C interface on the Raspberry Pi hardware.
疑难解答
Troubleshoot Raspberry Pi I2C Interface
Troubleshoot I2C interface on the Raspberry Pi hardware.