Skip to content

Hello mochabug Adapt

This tutorial will walk through how to build one of the simplest projects possible, a project that only outputs data from a constant.

Create a new project and name it Hello world, no need to fill in the description unless you want to. Note that Start is already in place on the canvas after the project has been created.

Lets drag out the Output on the canvas and connect two by click-and-hold the start trasnmitter and dragging to input on the output vertex.

Press the cogwheel on the Output vertex. Press the + Add const button to create and bind a constant to the output node. Give it the Label

msg

and the following JSON value

"Hello mochabug Adapt"

Close the Output configuration either by pressing X in the top right corner or on the canvas

Now press the green play button at the bottom of the canvas and then press Run test at the top right corner On the right in the output signals you should be able to see the value and label of the constant you just bound as well as what vertex and ID that send the message to the client


Good job, now head back to Tutorials for more inspiring examples.