Documentation / Concepts / Screens

Screens

Using screens

With an Arduino Display Shield

The display shield contains a resistor keyboard. (to do: Include image)

To include a Keyboard handler block under ‘Miscellaneous’ to let BrainBuilder manage the key handling for you. This makes using screens easier. If you want to handle the keys yourself, do not include a keyboard handler.

Screen pages

Under ‘Screen pages’, you can define the pages you want to display. (to do: Include image)

With the ‘Down’ and ‘Up’ keys, you can scroll through the pages.

A system variable console_page is created automatically and starts at 0.

Screen items

You can define multiple screen items per page, as long as they fit on the page.

Types of screen items

Screen cell

A string of text, a variable, the row and column position at which is should be displayed and the combined length of the field.

Screen item

A label and a variable, the placement is done by the system.

Text field

A string of text, and the row and column position at which is should be displayed.

Variable field

A variable, the row and column position at which is should be displayed and the length of the field.