Knowledge Base

Print Block

output-onlinepngtools__231_.png  This block works for both EV3 Robot and Ruby Robot!  output-onlinepngtools__101_.png

mceclip0.png

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. 

mceclip0.png

 Configuration

Parameter Description Compatible Blocks Range
Print

Writes data to the Console tab

Data, variable or sensor blocks

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.

Was this article helpful?
1 out of 1 found this helpful

Comments

Please sign in to leave a comment.