樹莓派: IIC通訊
安裝相依性
Plain
sudo apt-get updatePlain
sudo apt-get install -y python3-smbus python3-serial i2c-tools啟用I2C
Plain
sudo raspi-config選擇 Interface Options -> I2C -> Yes
重啟Raspberry Pi
檔案位置
~/IIC_Voice/iic_voice.py
接線說明

執行
Plain
cd IIC_VoicePlain
python3 iic_voice.py輸出格式
Plain
Speech Serial Opened! Baudrate=115200
ID:4
ID:1
ID:10
