Foreword
We have three types of extensions within mBlock 5: Device , Device Extension, and Sprite Extension. Therefore, the mBlock Extension Builder also allows you to develop these three types of extensions.
1. Device
Devices normally refer to singlechips or microcomputer, Arduino, raspberry Pi, with some sort of physical connection, communication, and computing power. mBlock 5 supports a variety of communication connections, such as serial, Bluetooth, Wi-Fi, 2.4 G, etc. .
How to add device in mBlock IDE:
How to create device in Extension Builder: "My device" ->"Add device"
2. Device extension
Device extension refers to extensions for a particular hardware device, which can be implemented by the hardware itself or supported by additional electronic modules. The use of these extensions can enhance the device's functionality and enable the devices to be matched with more hardware modules.
How to add device extensions in the mBlock IDE: first add a device, then add device extensions for this device
How to create device extension in Extension Builder: "New extension" -- select the default template or universal template (which might need some extra configurations to indicate the extension type)
3. Sprite extension
Sprite extension is the addition of more augmented building blocks for stage characters, which can be either operational blocks which are unavailable in Scratch or web API based interfaces for a variety of network functions, such as capturing the weather Face recognition, sentence translation, etc. .
How to add sprite extensions in the mBlock IDE: first switch to sprite and then click add extension
How to create sprite extension in Extension Builder: "New extension" -- select the default template or universal template (which might need some extra configurations to indicate the extension type)