Main Content

I2C 인터페이스

Raspberry Pi®의 I2C 인터페이스 사용

Raspberry Pi I2C 인터페이스를 사용하여 장치에 연결하고 이를 제어합니다.

객체

raspiConnection to Raspberry Pi board
i2cdevConnection to device on Raspberry Pi hardware

함수

scanI2CBusScan I2C bus device addresses
readRead data from I2C device
writeWrite data to I2C device
readRegisterRead from register on I2C device
writeRegisterWrite to register on I2C device
enableI2CEnable I2C interface
disableI2CDisable I2C interface

도움말 항목

문제 해결

Troubleshoot Raspberry Pi I2C Interface

Troubleshoot I2C interface on the Raspberry Pi hardware.