Screen#
Introduction#
The Screen category includes blocks that allow your IQ (1st gen) Brain’s Screen to display text and values on the brain’s built-in screen.
The IQ (1st gen) Brain screen supports up to 5 rows and 21 columns of text.

Below is a list of all blocks:
Cursor Print — Display text and values on the brain.
print — Prints a value or text to the selected screen.
set cursor to row column — Sets the row and column location for printing.
set cursor to next row — Moves the cursor to the next row.
clear row — Clears a specific row.
Settings — Configure screen display properties.
clear screen — Clears the entire screen.
set print precision on screen — Sets how many decimal places to show.
Cursor Print#
print#
The print block displays text on the brain’s screen at the current cursor position.
在屏幕上打印 [VEXcode]▶
Parameters |
Description |
|---|---|
value |
The text, number, or variable value to display. |
expanding arrow |
Expand the block to read and set cursor to next row to make the cursor move to the next row after this block. |
Example
当开始
[Display a message at the starting cursor position.]
在屏幕上打印 [Hello, Robot!]◀ 并设定光标为下一行
set cursor to row column#
When using the set cursor to row column block, the cursor is placed at a specific row and column on the brain’s screen.
The IQ (1st gen) Brain uses a monospaced font, meaning each character has the same width for consistent text alignment. The IQ (1st gen) Brain screen supports up to 5 rows and 21 columns of text.
在屏幕上设定光标至 [1] 行 [1] 列
Parameters |
Description |
|---|---|
row |
The row of the cursor as an integer. |
column |
The column of the cursor as an integer. |
Example
当开始
[Display a message in the middle of the screen]
在屏幕上设定光标至 (3) 行 (7) 列
在屏幕上打印 [VEXcode!]▶

set cursor to next row#
The set cursor to next row block moves the cursor to column 1 on the next row on the brain’s screen.
在屏幕上设定光标至下一行
Parameters |
Description |
|---|---|
This block has no parameters. |
Example
当开始
[Display two lines of text.]
在屏幕上打印 [First Message]▶
在屏幕上设定光标至下一行
在屏幕上打印 [Second Message]◀ 并设定光标为下一行

clear row#
The clear row block is used to clear a single row on the brain’s screen.
清除屏幕第 (1) 行
Parameters |
Description |
|---|---|
row |
The row number to clear as an integer. |
Example
当开始
[Display text on two rows, but only keep one.]
在屏幕上打印 [This text stays]◀ 并设定光标为下一行
在屏幕上打印 [This disappears]◀ 并设定光标为下一行
等待 (3) 秒
清除屏幕第 (2) 行
Settings#
clear screen#
The clear screen block clears all text and drawings from the brain’s screen.
清屏
Parameters |
Description |
|---|---|
This block has no parameters. |
Example
当开始
[Fill the screen, then clear it after 2 seconds.]
重复 (5)
在屏幕上打印 [Line]◀ 并设定光标为下一行
结束
等待 (3) 秒
清屏
set print precision on screen#
The set print precision on screen block sets the precision formatting used for displaying numbers on the brain’s screen. This print precision will apply to all subsequently printed numbers.
在屏幕上设定打印精度为 [0.1 v]
Parameters |
Description |
|---|---|
precision |
Sets the print precision to:
|
Example
当开始
[Print 1/3 as 0.33.]
在屏幕上设定打印精度为 [0.01 v]
在屏幕上打印 ([1] / [3])◀ 并设定光标为下一行