534
edits
| Line 150: | Line 150: | ||
00: -- -- -- -- -- -- -- -- -- -- -- -- -- | 00: -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
20: | 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
70: | 70: -- -- -- -- -- -- -- -- | ||
fgint@raspberrypi:~ $ | fgint@raspberrypi:~ $ | ||
</syntaxhighlight> | </syntaxhighlight> | ||
If you have message as like : | |||
If you have message as like : | |||
<syntaxhighlight lang="shell-session"> | <syntaxhighlight lang="shell-session"> | ||
| Line 172: | Line 168: | ||
'''This probably mean, that you didn't activate I2C support on your raspberry.''' | '''This probably mean, that you didn't activate I2C support on your raspberry.''' | ||
== Example == | |||
On our Radio Panel project, we have 3 '''devices''' used : 2 '''MCP23017''' and 1 '''HT16K33''' | |||
<syntaxhighlight lang="shell-session"> | |||
fgint@raspberrypi:~ $ i2cdetect -y 1 | |||
0 1 2 3 4 5 6 7 8 9 a b c d e f | |||
00: -- -- -- -- -- -- -- -- -- -- -- -- -- | |||
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |||
20: 20 21 -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |||
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |||
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |||
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |||
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |||
70: 70 -- -- -- -- -- -- -- | |||
fgint@raspberrypi:~ $ | |||
</syntaxhighlight> | |||
The bus checked is number '''1'''. The I2C buses '''0''' is not available, it is revered for the connection of the PI cameras. | |||
In the example above, 3 devices were discovered.<br /> | |||
edits