This is an old revision of the document!


How to setup and use I2C and SPI on RPi

Guides

Enable Interfaces

Make sure I2C and/or SPI are turned on

sudo raspi-config

Install Software

WiringPi is used to program (download) (docs)

I2C tools

sudo apt-get install -y i2c-tools