write ()

write block

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

Content is available under CC BY-SA 4.0 unless otherwise noted.

Related Tutorials, Projects & Documentation
Dabble Home Connected

Getting Started with Dabble

Getting Started with Dabble Introduction Dabble App transforms your Smartphone into a virtual I/O device and lets you control hardware using Bluetooth, communicate with it,…
PictoBlox blocks Scratch how to

Getting Started with PictoBlox

PictoBlox is a programming software based on Scratch, where you can make interactive games, animations or program robots and projects with evive, Arduino, etc..
All articles loaded
No more articles to load
PictoBlox Supported Boards
Extensions
Close Menu
×

Cart