Contenido principal

Interfaz I2C

Use la interfaz I2C de Raspberry Pi®

Use la interfaz I2C de Raspberry Pi para conectarse y controlar dispositivos

Objetos

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

Funciones

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

Temas

Solución de problemas

Troubleshoot Raspberry Pi I2C Interface

Troubleshoot I2C interface on the Raspberry Pi hardware.

Ejemplos destacados