ESP32 TFT Library using IDF?

jc2020
Posts: 12
Joined: Thu Dec 03, 2020 8:59 am

ESP32 TFT Library using IDF?

Postby jc2020 » Fri Jan 01, 2021 8:45 pm

What good ESP32 TFT libraries compatible with ESP-IDF are there that are updated regularly?

I like loboris' library, but he uses his own modified SPI library and I'm seeing some issues with my other SPI devices and I'm not sure if it's because the two libraries are 'clashing' (I don't yet know the underlying SPI well enough).

What libraries do you guys know of?

Ideally it would have:

- Support for ILI9431 controller.
- Require drawing fonts, jpegs
- 3 or 4 wire SPI support

Many thanks in advance.

Victoria Nope
Posts: 75
Joined: Fri Dec 04, 2020 9:56 pm

Re: ESP32 TFT Library using IDF?

Postby Victoria Nope » Sat Jan 02, 2021 5:26 am


jc2020
Posts: 12
Joined: Thu Dec 03, 2020 8:59 am

Re: ESP32 TFT Library using IDF?

Postby jc2020 » Sun Jan 03, 2021 11:14 am

Victoria Nope wrote:
Sat Jan 02, 2021 5:26 am
Check the LVGL project for ESP32.
Thank you @Victoria Nope

tuupola
Posts: 7
Joined: Fri Apr 20, 2018 3:49 am

Re: ESP32 TFT Library using IDF?

Postby tuupola » Sat Feb 20, 2021 11:33 pm

You could check HAGL which is a lightweight hardware agnostic graphics library. It does not contain any hardware or platform specific code. You can use it with any microcontroller including ESP32 and esp-idf.

Being hardware agnostic means user has to provide a HAL. There is a HAL for ESP32 which supports most hobbyist displays. There is also an SDL2 HAL for normal computers. You can use the latter to develop graphics code on your laptop.

For example when I was doing the Old school demo effects I first coded them on my laptop. When I was happy with the effects I used the same code for ESP32. I also did some other proof of concepts with the library such as ESP video player.

Image

Mika Tuupola
https://appelsiini.net/

Who is online

Users browsing this forum: Bing [Bot] and 243 guests