Enable SPI and/or I2C on Raspberry Pi

So you want to enable SPI and/or I2C on the Raspberry Pi, if you want to work with other electronics through the GPIO.

To enable these services, you need to edit the following file:

sudo nano /etc/modprobe.d/raspi-blacklist.conf

Comment out either/both of the lines as shown below to enable which services you want:

Screenshot - 160115 - 03:03:18

Use ctrl-O to save the file, and then reboot!


As you can see, there is now activity on the I2C and SPI pins on the Pi!



Insurgency workshop content still not working 🙁
Performance of a three-disk software RAID-5 array

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.