Robo Blockly is a block-based, open-ended visual programming language that allows to write complex codes for Robo Wunderkind robots, sometimes it can be difficult to master, and can be complicated. This is why we recommend it as a next step after Robo Code and as a tool for more advanced coders.
In this tutorial, you will get to know Robo Blockly interface and basics, as well as create your very first Blockly project.
There are 3 Robo tabs to check out.
Welcome to your Coding Screen or canvas, here you can find different buttons & icons.
There are 9 types of the Code Blocks in the Code Blocks Menu:
Some of them correspond with Robo Wunderkind modules’ inputs and outputs such as Sounds, Visuals, Motion and Sensing.
The other Code Block types help you to structure your code, such as Events, Functions, Variables, Flow and Operators.
Place the Code Blocks one below another, so they are connected to create a code.
A lot of theory, so let’s try that out!
Let’s create a simple code to test how the Code Blocks work. Follow the steps below.
Drag and drop them so they are connected into a code.
Press the Play / Stop Button. The green dot on the left side of your code shows you the Program Flow
Program your robot to repeat a piece of code a few times or forever. Try it out and follow your Program Flow.
You just created your very first Blockly code!