This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
nblocksstudio:new_node [2018/10/13 05:50] engineer |
nblocksstudio:new_node [2018/10/13 11:12] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
=====How to create a new Node===== | =====How to create a new Node===== | ||
* Goto nStudio server http://www.n-blocks.net/panel.php?p=author, Your Nodes, Upload New | * Goto nStudio server http://www.n-blocks.net/panel.php?p=author, Your Nodes, Upload New | ||
- | * Define the node name,category inputs,outputs,parameters | + | * Define the node Name, Category, Inputs,Outputs,Parameters |
* Create 2 files using the provided templates | * Create 2 files using the provided templates | ||
* my_node.h | * my_node.h | ||
* my_node.cpp | * my_node.cpp | ||
- | * Then copy the .h and .cpp files to the directory "mbed_code" inside your computer [this will not be needed in the future] | + | * Then copy the .h and .cpp files to the directory "mbed_code" inside your computer [this will not be needed in the future, the 2 files from the server will be automatically downloaded to PC] |
- | * Add new node to the imported nodes at http://www.n-blocks.net/panel.php?p=author | + | * Add the new Node to the imported nodes at http://www.n-blocks.net/panel.php?p=author |
* If the studio is running in your PC then restart it to import the new node | * If the studio is running in your PC then restart it to import the new node | ||