/XGLCD-LVGL

Library for using RA8875 and LittleVGL with an ESP32

Primary LanguageCGNU General Public License v3.0GPL-3.0

XGLCD-LVGL Library for RA8875

This library is designed to use a RA8875 LCD module with LittleVGL , especially using an ESP32 as MCU (but it will also works with MKR family - Pycom family - Particle family - Adafruit Feather - plain old Arduino).

It's not a full RA8875 library but a light weight version dedicated to LittleVGL (You need to install LittleVGL to use this library).

XGLCD-LVGL can drive 5.0", 7.0" and 9.0" 800x480 TFT LCD with capacitive touchscreen controlled by FT5206 (The code for resistive touchscreen directly managed by the RA8875 is commented but available), so you need the FT5206 library from Sumotoy.

XGLCD-LVGL is based on XGLCD from XGraph witch is based on RA8875 from Sumotoy.

Power supply consideration : RA8875 usually control large displays witch needs lot of current, USB will not provide enough energy to feed an ESP32, the LCD and the touch panel, please use an external power supply to avoid weird behaviors.

Wiring consideration : The code provided for esp32 works with DOIT ESP32 DEVKIT V1, if you want to use another board edit XGLCD.h and modify the defines to use the right pins for the SPI port you want to use.

Licence GNU GPL v3.0.