Table of Contents

write ()

write block

Description

Write () block is a stack block available in evive display extension. This block is used to write text on evive’s TFT display.

evive TFT Display Text Hello World

evive Notes Icon
Note: This block is available in both Upload mode and Stage mode.

Example

  1. In this script, we simply write “Hello World”. Since we have not specified the cursor coordinates, it starts displaying the message from (50, 50).
    evive Display Blocks Example
  2. In the script below, we created a variable count and we will display its value through the Write () block. We have set count to 1. To display the value of a variable, we use the join ()() block. In the space for text, we write – “count is” and then drag count into the other slot. We drag this into the space in the Write () block. Observe that, the join () block along with Write () helped us print both the text message and the value stored in a variable together.
    Write example
  3. In the script below we are displaying the potentiomter 1 reading on the TFT display:
    Write example potentiometer

Example

There are no examples documented for this article.