Basic Arduino EVE Demo

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

Moderator: Mods

Post Reply
Henry
OMNIPRESENT
OMNIPRESENT
Posts: 3002
Joined: Tue Aug 14, 2001 6:00 pm
Contact:

Basic Arduino EVE Demo

Post by Henry »

Basic EVE Arduino UNO Example Code

Written for an EVE2 or EVE3 or EVE4 running on an Arduino UNO.

Code is located on GitHub
https://github.com/MatrixOrbital/EVE-Basic-Demo-Arduino

This code when executed will display MATRIX ORBITAL text and a circle switching between blue and red.
Basic-EVE-Demo-2.jpg
Basic-EVE-Demo-2.jpg (113.45 KiB) Viewed 7672 times
This code will illustrate:
  • EVE initilization
  • Set colour
  • Draw circle
  • Write text
please note, this example does not utilize touch

------------------------------------------------------------------------------------------

Hardware Requirements

Designed for Matrix Orbital EVE2/3/4 SPI TFT Displays
https://www.matrixorbital.com/ftdi-eve
EVE.png
EVE.png (246.54 KiB) Viewed 9509 times

Scoodo EVE TFT SHIELD for Arduino
https://www.matrixorbital.com/eve2-shield
scoodo.jpg
scoodo.jpg (96.25 KiB) Viewed 9509 times

LIBRARY

This code makes use of the Matrix Orbital EVE2 Library found here:

https://github.com/MatrixOrbital/EVE2-Library

While a copy of the library files (Eve2_81x.c and Eve2_81x.h) is included here, it will not be updated. For the most up to date files please use the files from the link above.

EVE SPI TFT connected to a Scoodo SHIELD
Arduino_EVE_800x.jpg
Arduino_EVE_800x.jpg (181.76 KiB) Viewed 9514 times

Support Forums

http://www.lcdforums.com/forums/viewforum.php?f=45
Henry J.
President
Matrix Orbital

prestonpressure
LCD?
Posts: 8
Joined: Tue Apr 05, 2022 1:52 pm

Re: Basic Arduino EVE Demo

Post by prestonpressure »

The library found here: https://github.com/MatrixOrbital/EVE2-Library does not provide for a very basic function of changing the line width. The functions listed below are located in the Eve2_81x.h file, but there is no way that I can find to change the line width. There is a LINE_WIDTH command in Section 4.32 of the Programmers Guide, but I do not find this in the library. Is there another way to change the width of a line?

// Primitive Type Reference Definitions - FT81x Series Programmers Guide Section 4.5 - Table 6
#define BITMAPS 1
#define POINTS 2
#define LINES 3
#define LINE_STRIP 4
#define EDGE_STRIP_R 5
#define EDGE_STRIP_L 6
#define EDGE_STRIP_A 7
#define EDGE_STRIP_B 8
#define RECTS 9

Ray
Matrix Orbital
Matrix Orbital
Posts: 742
Joined: Thu Dec 13, 2001 4:00 pm
Location: Earth.... I think..
Contact:

Re: Basic Arduino EVE Demo

Post by Ray »

you can find the definition for line width over here

https://github.com/MatrixOrbital/EVE2-L ... 81x.h#L365

prestonpressure
LCD?
Posts: 8
Joined: Tue Apr 05, 2022 1:52 pm

Re: Basic Arduino EVE Demo

Post by prestonpressure »

Thank you! Apparently I had an older version of this library.

Post Reply