Difference between revisions of "How to enable I2C"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
The Raspberry Pi will reboot and the 'i2c' interface will be enabled. | The Raspberry Pi will reboot and the 'i2c' interface will be enabled. | ||
+ | |||
+ | run the following command to check i2c port | ||
+ | sudo i2cdetect -y 1 | ||
<!--Add review function! --> | <!--Add review function! --> |
Revision as of 16:52, 19 November 2022
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"
Select "OK"
Select "Finish" to return to the command line and reboot your raspberry pi.
sudo reboot
The Raspberry Pi will reboot and the 'i2c' interface will be enabled.
run the following command to check i2c port
sudo i2cdetect -y 1
Enable comment auto-refresher
Anonymous user #3
Permalink |
Harry
Anonymous user #2
Permalink |
Anonymous user #1
Permalink |
Harry