質問編集履歴
2
\]削除
title
CHANGED
File without changes
|
body
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
IOError: [Errno 121] Remote I/O error
|
11
11
|
###構成と回路
|
12
12
|
構成
|
13
|
-

|
13
|
+
(9909fdd89a335eb1ee56e511fc376c7b.png)
|
14
14
|
回路
|
15
15
|

|
16
16
|
|
1
sudo i2cdetect -y 1とsudo i2cdetect -y 0の場合を追記しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -56,4 +56,19 @@
|
|
56
56
|
|
57
57
|
#Open I2C interface
|
58
58
|
#bus = smbus.SMBus(0) # Rev 1 Pi uses 0
|
59
|
-
```
|
59
|
+
```
|
60
|
+
###追記
|
61
|
+
sudo i2cdetect -y 1
|
62
|
+
にした場合
|
63
|
+
0 1 2 3 4 5 6 7 8 9 a b c d e f
|
64
|
+
00: -- -- -- -- -- -- -- -- -- -- -- -- --
|
65
|
+
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
66
|
+
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
67
|
+
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
68
|
+
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
69
|
+
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
70
|
+
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
71
|
+
70: -- -- -- -- -- -- -- --
|
72
|
+
sudo i2cdetect -y 0
|
73
|
+
にした場合
|
74
|
+
Error: Could not open file `/dev/i2c-0' or `/dev/i2c/0': No such file or directory
|