
•
Code Kingdoms JavaScript
•
Microsoft Block Editor
•
Microsoft Touch Develop
•
python
We'll focus more on the
Microsoft PXT
.
Work with our library
我們將開發傳感器模塊的庫。
這可以減少您使用模塊的工作量。您不必學習模塊
的技術細節。
例如,
RGB LED
基於
IIC
總線,我們只需要調用庫函數來控制顏色
和亮度。
我們不在乎
IIC
本身。
使用庫,您不需要關心模塊連接到哪個引腳,您只需要知道使用了
E-brick
連接
器。
We'll develop the libraries for the sensor modules. This can reduce your effort on
using the modules.You don't have to study the technical details of the modules. For
example, The RGB LED is based on the IIC bus, We just need to call the library
function to control the color and brightness. We don't care the IIC bus itself.
With the library, you don't need to care which pin a module connects to, You just
need to know what E-brick connector is used.
NOTE
The library is based on Microsoft PXT.
Steps
•
Step 1: Add our library to your code
•
Step 2: Refer to the API reference or example code
•
Step 3: Drag the library blocks.