If you're using a version 2 Pi (512 M) then you'll have to change the I2C bus as it flipped from #0 to #1 in the version 2.
+
Si vous utiliser un Pi version 2 (512 Mega de RAM) alors vous aurez besoin de changer l'adresse du bus I2C (puisque ce dernier est passé de la broche #0 à #1 dans la version version 2).
−
Edit Adafruit_I2C.py with nano Adafruit_I2C.py and change this line
+
+
Editez le fichier Adafruit_I2C.py avec la commande ''nano Adafruit_I2C.py'' et changez la ligne and change this line