Bibliothèque GPIO :
sudo apt-get install python-pip python-dev build-essential
sudo pip install RPi.GPIO
Bibliothèque smbus (i2c) :
sudo apt-get install python-smbus
Bibliothèque série :
sudo apt-get install python-serial
Bibliothèque imaging :
sudo apt-get install python-imaging
Activation des bus i2c et série
Si ce n'est pas encore fait, il faut activer le bus I2C. Ouvrez les paramètres :
sudo raspi-config
Sélectionnez le menu des optons avancées « Advanced Option »
Activez les options SPI, I2C et Serial : « Enable/Disable automatic loading of SPI kernel
module »
Page 4 de 11