There are some sensor modules based on the IIC bus. We can attach serveral
modules on the same bus, Because they can be identificated by different addresses.
Pin ID Pin Name Remark
Pin#1 IIC SCL
IIC clock signal. Connect to micro:bit pin19
Pin#2 IIC SDA
IIC data signal. Connect to micro:bit pin20
Conversation on Remaping Micro:bit Edge Pin
請注意連接器名稱。
連接器名稱中有約定。
連接器名稱可以指示映射的微:位信
號名稱。
例如:連接器
D12
表示:信號#
1
被重新映射到
micro:bit
引腳
12
,信號#
2
被重
新映射到
micro:bit
引腳
13
(
12 + 1
)
在開發代碼時,我們可以快速定位
micro
:
bit
引腳
Please note the Connector Name. There is a convention in the connector name. A
connector name can be indicated the mapped micro:bit signal name.
For example: Connector D12 means: The Signal#1 is remapped to micro:bit pin 12,
and Signal#2 is remapped to micro:bit pin 13(12+1)
It's useful for us to position the micro:bit pin quickly when develop code.
Connector Type Connector Name Micro:bit Pin Name(Signal#1, Signal#2)
Analog Input /
A0
pin0, pin1
Digital IO
A1
pin1, pin2
A2
pin2, pin3
Digital IO
D12
pin12, pin13
D13
pin13, pin14
D14
pin14, pin15
D15
pin15, pin16
IIC
IIC
pin19, pin20
IIC
pin19, pin20
IIC
pin19, pin20
•
我們通常使用
A0
,
A1
,
A2
作為模擬輸入連接器,但也可以用作數字
io
連接
器。
•
D12
,
D13
,
D14
,
D15
只能用作數字
IO
連接器。