Difference between revisions of "I2C Setup"

From SingletonMillerWiki
Jump to: navigation, search
(Setup)
Line 3: Line 3:
  
  
== Setup ==
+
== Installation ==
 
Add the I2C drivers to the Linux Kernel.
 
Add the I2C drivers to the Linux Kernel.
 
<pre>
 
<pre>

Revision as of 12:05, 24 August 2012

Instructions for setting up and using the I2C interface on the Raspberry Pi.


Installation

Add the I2C drivers to the Linux Kernel.

sudo modprobe i2c-dev
sudo modprobe i2c-bcm2708

Download and install the i2c tools. This is not essential but it is useful for testing I2C devices from the command prompt.

sudo apt-get install i2c-tools

Notes

This setup process has been tested on the following Raspberry Pi linux distributions

  • Raspbian Wheezy 2012-08-16

Links

i2c Tools