Raspberry I2C Setup: Difference between revisions

Jump to navigation Jump to search
m (Adding I2C checking section)
Line 162: Line 162:
In the example above, 3 devices were discovered.<br />
In the example above, 3 devices were discovered.<br />
There are two devices in the range 0x20 (0x20 and 0x21) and one device in the range 0x70 (0x70)
There are two devices in the range 0x20 (0x20 and 0x21) and one device in the range 0x70 (0x70)
If you have message as like :
<syntaxhighlight lang="shell-session">
fgint@raspberrypi:~ $ i2cdetect -y 1
Error: Could not open file `/dev/i2c-1' or `/dev/i2c/1': No such file or directory
fgint@raspberrypi:~ $
</syntaxhighlight>
'''This probably mean, that you didn't activate I2C support on your raspberry.'''
534

edits

Navigation menu