
Work without our library
您還可以使用
micro
:
bit
引腳庫直接控制傳感器模塊。
在這種情況下,我們可以
通過
E-brick
連接器
ID
獲取
micro
:
bit
引腳
ID
。
例如,我們將傳感器模塊連接到
D12
。
然後我們可以得到相應的
Micro
:
bit
引腳為
pin12
。
You can also use the micro:bit pin library to control the sensor modules directly. In
this situation, We can get the micro:bit pin ID by the E-brick connector ID. For
example, We connect a sensor module to
D12
. Then We can get that the
corresponding Micro:bit pin is
pin12
.