How to enable I2C

From Geekworm
Jump to navigation Jump to search


How to enable I2C funcion on Raspbian:

Please run the following command after you start the Raspberry Pi

sudo raspi-config

Select 5 Interfacing Options and then P5 I2C - Enable/Disable automatic loading. A prompt will appear asking Would you like the ARM I2C interface to be enabled?, select "Yes"

Rpi-config-1.jpg
Rpi-config-5.jpg
Rpi-config-6.jpg

Select "OK"

Select "Finish" to return to the command line and reboot your raspberry pi.

sudo reboot
Add your comment
Geekworm welcomes all comments. If you do not want to be anonymous, register or log in. It is free.