Interface I2C
Utiliser l’interface I2C du Raspberry Pi®
Utilisez l’interface I2C du Raspberry Pi pour vous connecter à des dispositifs et les contrôler.
Fonctions
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 | Enable I2C interface |
disableI2C | Disable I2C interface |
Rubriques
- 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.
Résolution des problèmes
Troubleshoot Raspberry Pi I2C Interface
Troubleshoot I2C interface on the Raspberry Pi hardware.