EVE2 Module: JPEG Viewer 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: JPEG Viewer Example

Post by Daniel Divino »

In this application, we’ve showcased one of the many ways to upload a photo onto the EVE2 Module by developing a photo viewer application. A set of buttons allow users to cycle through the images being uploaded on the display.

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.

In order to prepare the photos for upload to the EVE2, they have been converted into RAW files using FTDI’s img_cvt utility, which can be downloaded here.

During operation, the code simply draws the JPEG interface, and parses for touch responses from any of the six available buttons. When a touch input is detected, the interface will be updated with the appropriate image, or exit the program.

The JPEG viewer application code note can be downloaded here.
JPEG Viewer Capture.png
JPEG Viewer Capture.png (172.13 KiB) Viewed 11825 times
Attachments
EVE2 Module - JPEG Viewer Rev 1.0.pdf
(993.11 KiB) Downloaded 677 times
Daniel Divino
Technical Support
Matrix Orbital

Post Reply