10

This question already has an answer here:

Is it possible to communicate with i2c devices via the GPIO?

Also, are there any existing drivers or libraries that make this possible from Python?

marked as duplicate by lenik, goldilocks Jan 24 '15 at 20:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

6

According to the wiki, I2C is exposed on pins 3 (SDA) and 5 (SCL).

Using from Python on Debian (Untested)

Based on reading this forum post.

Run

sudo apt-get install python-smbus

to install the drivers. At the time of writing, there is a test script here.

Note: Someone needs to test this.

  • "Someone needs to test this." When my RPi arrives, I'll test it. – Damian Powell Jun 18 '12 at 9:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.