display () of size () px at position (), (), color () & background ()

Display () of size () px at position (), (), color () & background () block is a stack block available in evive display extension. The block is used to draw characters and symbols on evive TFT Display. The matrix size for the block is 20 horizontally and 16 vertically. 

display Matrix

Input Parameters

  1. The matrix having 20 x 16 boxes. You can either enable or disable a particular box by clicking on the box. If the box is enabled, its color is white, else the color is dark red. You can draw any shape using this.
    TFT Draw Image Original
  2. Size of the matrix on the TFT display. We are making a matrix of 20 x 16. Using this option, we can set how big the matrix will display on the screen. If we set 1 px, then each box will have the width and the height of 1px. If we set 8 px, then each box will have the width and the height of 8px.
  3. X position of the top left corner pixel of the matrix from where the matrix will be displayed.
  4. Y position of the top left corner pixel of the matrix from where the matrix will be displayed.
    TFT Draw Image Change Position
  5. The primary color of the shape. All boxes colored white in the matrix will be displayed with this color.
    TFT Draw Image Change Colour
  6. The background color of the shape. All boxes colored dark red in the matrix will be displayed with this color.
    TFT Draw Image Change Background Color

Predefines Images

Examples

  1. In this example, we are displaying faces with different expressions on the evive TFT display.
    display shapes
    Download the example file from here: TFT Character Display

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

Related Tutorials, Projects & Documentation
evive-brain

Interfacing evive with PictoBlox

This tutorial discusses how to interface evive with PictoBlox, the evive palette, the two modes for writing scripts in PictoBlox, and how to upload a script to evive.
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