Basic EVE Arduino UNO Example Code
Written for an EVE2 or EVE3 or EVE4 running on an Arduino UNO.
This code when executed will display MATRIX ORBITAL text and a circle switching between blue and red .
This code will illustrate:
- EVE initilization
- Set colour
- Draw blue and red circle
- Write text
please note, this example does not utilize touch
IMPORTANT
-
Download and rename the directory from Basic-EVE-Demo-Arduino-master to Basic-EVE-Demo-Arduino
-
Load the INO project
-
Configure the display. The example is configured for a 5.0", to change the display used edit:
Eve2_81x.h --> // Panel specific setup parameters, SELECT THE SIZE DISPLAY, the settings work for EVE2, EVE3 and EVE4 displays.
//User selectable configurations.
//#define EVE2_70
#define EVE2_50
//#define EVE2_43
//#define EVE2_38
//#define EVE2_35
//#define EVE2_29
- Upload
Hardware Requirements:
-
Designed for Matrix Orbital EVE2/3/4 SPI TFT Displays https://www.matrixorbital.com/ftdi-eve
-
Scoodo EVE TFT SHIELD for Arduino https://www.matrixorbital.com/eve2-shield
-
Arduino UNO, external power will be required most likely
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
Support Forums