-
Notifications
You must be signed in to change notification settings - Fork 0
Enable I2C interface support
Volodymyr Huz edited this page Nov 28, 2018
·
1 revision
Add using i2c-dev module by Linux kernel
sudo nano /etc/modules
i2c-dev
Install packages to support I2C
sudo apt-get install -y python-smbus
sudo apt-get install -y i2c-tools
sudo adduser osmc i2c
Enable I2C interface
sudo nano /boot/config.txt
dtparam=i2c_arm=on
dtparam=spi=on
Check I2C interface working and find I2C plugged devices addresses
sudo i2cdetect -y 1