This section describes how to add a third-party library when you use the Extension Builder to create an Arduino extension. You can write a library (for example, test.h) and add it for an Arduino extension.
Click the Transcode settings tab in the Extension Builder as shown in the following figure and click + in the Source file area to upload a file.
The names of the uploaded files are displayed as follows:
Click the Block settings tab, and then click the Upload transcode tab. Quote the name of the uploaded header file in the include: field. Ensure that you enter the file name with quotation marks, that is "src/OfflineBroadcast.h".
You can click the following button to download the Upload Mode Broadcast example extension, which is created for Arduino, and import it into the Extension Builder for reference. For details about how to import it, see Import an Extension File into the Extension Builder
- Share Extension
- Version Control
- Import an Extension File into the Extension Builder
- mBlock Project Community: https://planet.mblock.cc