The Display Block is a useful tool since it can display data in terms of text on the EV3 screen. What kind of text exactly? Well, it all varies depending on the information that you need. For example, you want to check how long does it take for the program to end, you could use the setup as the above image. Basically, anything that can be presented in the form of text will work fine.
How is this helpful? It provides the user with information directly from the robot itself. Some of the useful ones are the measurements of a certain value obtained from the light or colour sensor. Besides that, it can be useful in debugging the program like in some cases where the variables stored is incorrect and we can start identifying the flaws in the calculation that leads to the incorrect variable.
The program above is also capable of multitasking by displaying multiple data at the same time. The display functions by displaying data at a certain coordinate via the x and y-axis. The program uses 2 display blocks to display 2 data in a different coordinate.
Comments