BCM |
wPi |
Phys |
Phys |
wPi |
BCM |
---|---|---|---|---|---|
1 |
2 |
||||
3 |
4 |
||||
5 |
6 |
||||
7 |
8 |
||||
9 |
10 |
||||
198 |
8 |
11 |
12 |
||
199 |
9 |
13 |
14 |
||
15 |
7 |
15 |
16 |
||
16 |
0 |
17 |
18 |
||
14 |
2 |
19 |
20 | ||
13 |
3 |
21 |
22 |
16 |
203 |
12 |
12 |
23 |
24 |
18 |
|
11 |
13 |
25 |
26 |
||
27 |
28 |
||||
29 |
30 |
||||
31 |
32 |
$ sudo apt install python3-pip
python3-setuptools |
GPIO番号 | 物理ピン | GPIO番号 | |
---|---|---|---|
1 |
2 |
||
3 |
4 |
||
5 |
6 |
||
7 |
8 |
||
9 |
10 |
||
198 |
11 |
12 |
|
199 |
13 |
14 |
|
15 |
15 |
16 |
|
16 |
17 |
18 |
|
14 |
19 |
20 |
|
13 |
21 | 22 |
203 |
12 |
23 | 24 |
363 |
11 |
25 | 26 |
|
27 | 28 |
||
29 | 30 |
||
31 |
32 |
#!/usr/bin/python |
$ sudo apt install python3-pip
python3-setuptools |
BCM番号 | 物理ピン番号 | 物理ピン | 物理ピン番号 | BCM番号 | |
---|---|---|---|---|---|
1 |
2 |
||||
3 |
4 |
||||
5 |
6 |
||||
7 |
8 |
||||
9 |
10 |
||||
14 |
8 |
11 |
12 |
||
15 |
10 |
13 |
14 |
||
10 |
19 |
15 |
16 |
||
9 |
21 |
17 |
18 |
||
11 |
23 |
19 |
20 |
||
8 |
24 |
21 | 22 |
7 |
4 |
2 |
3 |
23 | 24 |
12 |
18 |
3 |
5 |
25 | 26 |
||
27 | 28 |
||||
29 | 30 |
||||
31 |
32 |
#!/bin/python |
#!/bin/python |
#!/usr/bin/env python |