Update info about new method of enabling I2C on later Raspbians/RPi3
This commit is contained in:
parent
e0965e79ca
commit
048b824eee
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ NOTE: if i2c does not appear to work,
|
||||||
edit /boot/config.txt and add: dtparam=i2c1=on
|
edit /boot/config.txt and add: dtparam=i2c1=on
|
||||||
(cf. http://raspberrypi.stackexchange.com/questions/27073/firmware-3-18-x-breaks-i2c-spi-audio-lirc-1-wire-e-g-dev-i2c-1-no-such-f)
|
(cf. http://raspberrypi.stackexchange.com/questions/27073/firmware-3-18-x-breaks-i2c-spi-audio-lirc-1-wire-e-g-dev-i2c-1-no-such-f)
|
||||||
|
|
||||||
|
NOTE #2: on later Raspbians and/or RasPi3, must enable i2c in raspi-config
|
||||||
|
(go to "Interfacing Options" screen)
|
||||||
|
|
||||||
* edit /etc/modules, add i2c-bcm2708 and i2c-dev
|
* edit /etc/modules, add i2c-bcm2708 and i2c-dev
|
||||||
* sudo apt-get install i2c-tools python-smbus
|
* sudo apt-get install i2c-tools python-smbus
|
||||||
* confirm that the lcd was detected by running:
|
* confirm that the lcd was detected by running:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue