This block works for both EV3 Robot and Ruby Robot!
The Print block allows you to publish data to the Console area below the workspace.
The Print block can be found in the Utilities category of the Block Library.
Configuration
Parameter | Description | Compatible Blocks | Range |
Writes data to the Console tab |
N/A |
Hints and Tips
You can add print blocks to different locations in your program or to loops in your program. That way you can track the execution of your program in the Console.
In the following example, the speed of the robot is defined by a variable. The speed increases by 1 every second (loop iteration). The current value of the Speed variable is printed to the Console each loop iteration so that you can view the current power that the robot is driving at.
Comments
Please sign in to leave a comment.