EVE2 Module: Drawing with Primitives Example

FTDI/Bridgetek EVE2 & EVE3 & EVE4 SPI TFT Series by Matrix Orbital

Moderator: Mods

Post Reply
Daniel Divino
Matrix Orbital
Matrix Orbital
Posts: 247
Joined: Thu Sep 24, 2015 9:38 am

EVE2 Module: Drawing with Primitives Example

Post by Daniel Divino »

With the release of the new EVE2 TFT series, I have developed a few application notes which are aimed to assist those beginning their own EVE2 TFT development. These appnotes should provide users with the insight they need to communicate with their EVE2 modules, and take advantage of all the features that the EVE2 module has to offer.

For this application, I have decided to start off with the basics, and showcase how to establish communication, use primitives to draw the Matrix Orbital Logo, and draw buttons for user control.

The code is a modified version of FTDI’s Sample Application that they provide on their website. All modifications to the code were made in Microsoft Visual Studio and written in C. A USB2SPI bridge is used to send data directly to the EVE2 module.

The code will run a ‘For’ loop, drawing each individual aspect of the Matrix Orbital Logo during each iteration of the loop. For example, during the first iteration the EVE2 will draw a rectangle, for the following three iterations, three circles will be drawn, in the fifth iteration text will be added, etc. Once the logo is completed, two buttons will be drawn providing the user the option to either restart the loop, or exit the program.

This example only scratches the surface of what the EVE is capable of, and is meant to demonstrate how easy it can be to develop for the EVE2 Module.
Drawing Primitives End screen.png
Drawing Primitives End screen.png (7.29 KiB) Viewed 11428 times
Attachments
EVE2 Module - Primitive Drawing Rev 1.0.pdf
(860.43 KiB) Downloaded 683 times
Drawing with Primitives App.zip
(48.45 MiB) Downloaded 1166 times
Daniel Divino
Technical Support
Matrix Orbital

Post Reply