Where can I find full examples?

Important: unclear posts may not receive useful answers.

Before posting

  • Get familiar with Markdown to format and structure your post
  • Be sure to update lvgl from the latest version from the master branch.
  • Read the

Delete this section if you read and applied the mentioned points.

Description

Hi! where can I find ready full examples for lvgl? I use esp32s3 microcontroller and ili9341 lcd. I need example with lcd and lvgl init code.

What MCU/Processor/Board and compiler are you using?

esp-idf

What do you want to achieve?

What have you tried so far?

Code to reproduce

Add the relevant code snippets here.

The code block(s) should be between ```c and ``` tags:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

Hi @Zheckiss! Let me share some useful links with you for reference.

Espressif has many ready made projects using ESP32-S3 and LVGL. Take a look at the Espressif ESP-IDF BSP (Board Support Package) Github repository: GitHub - espressif/esp-bsp: Board support components for Espressif development boards

Most of the boards listed there use ESP32-S3 and if I’m not mistaken this one uses ili9341 display driver: GitHub - espressif/esp-box: The ESP-BOX is a new generation AIoT development platform released by Espressif Systems.

ESP-IDF examples extensively use the LVGL Port, take a look here: espressif/esp_lvgl_port • v2.6.0 • ESP Component Registry

And here is a link for ili9341 driver to use with ESP-IDF: espressif/esp_lcd_ili9341 • v2.0.0 • ESP Component Registry

And here are two projects of mine using ESP32-S3 where I setup the display and LVGL. Although I’m not using the same ili9341 driver.

I also like very much to study Waveshare examples. They also have some ready made projects to use with their ESP32-S3 display boards. Both using Arduino and ESP-IDF. Here are two examples:

So basically, the examples follow the same structure and principle, only the display driver will be different. But if you use the BSP, that will be handled as well.

Please try something out, and if you find any difficulties along the way, please post back here and the LVGL community will be happy to help you.

Dear giobauermeister, thank you very much for useful links!

1 Like

Hi @Zheckiss

If you are interested in full example of ESP32-S3 using MicroPython and LVGL. My videos discuss the program and the firmware and program code is at my GitHub.

Here are two links:
Part 1

Part 2

kw

Thank you very much!