Raspberry Pi: Communication IIC
Installer les dépendances
Plain
sudo apt-get updatePlain
sudo apt-get install -y python3-smbus python3-serial i2c-toolsActiver l'I2C
Plain
sudo raspi-configSélectionnez Interface Options -> I2C -> Yes
Redémarrez le Raspberry Pi
Emplacement du fichier
~/IIC_Voice/iic_voice.py
Instructions de câblage

Exécution
Plain
cd IIC_VoicePlain
python3 iic_voice.pyFormat de sortie
Plain
Speech Serial Opened! Baudrate=115200
ID:4
ID:1
ID:10
