SAMPLE

The Spinner block includes "title," "show," and "close" inputs. The title input must be a string (text). In the example provided, when "1" is sent to the multiplexer input, the message "There is Work!" appears, and the spinner is activated. To close the spinner, when "0" is sent to the input, a "1" is simultaneously written to the "close" input, deactivating the spinner.

The Progress Bar block consists of "title," "progress," "show," and "close" inputs. The data types for these inputs are as follows: the title is a string, progress is an integer, and both show and close are controlled with "1" or "0" integers. By sending a "1" command to the multiplexer, the progress bar is activated with a title, such as "Pool filling rate." The progress rate can then be displayed on the screen by providing the relevant data. To close the progress bar, a "0" command is sent to the multiplexer, and the progress bar is deactivated.

The Message Box block includes "message," "title," "show," and "close" inputs. Both message and title inputs are strings, while show and close are controlled by integers. In the setup example, when a "1" command is sent from the multiplexer, the screen displays "You have a message." with the title "Happy Holidays." The message box is shown with the "show" command (1). To close the Message Box, a "0" command is sent, and the block is deactivated by sending a "1" to the close input.

Last updated