Giter Club home page Giter Club logo

esp32-idf-lvgl's Introduction

esp32-idf-lvgl

Sample ESP-IDF based project with integrated LVGL

This sample ilustrates the integration of the lvgl graphics library in a project based on the espressif IoT development framework.

It uses the develop branch of the display drivers repo supportng various display controllers.

As this is still work-in-progres it was dificult to figure out how to properly initialize the display driver for the lvgl library.

To build the project you need to install the ESP-IDF framework:

git clone --recursive https://github.com/espressif/esp-idf.git
cd esp-idf; git checkout v4.4.3; git submodule update --init --recursive;
./install.sh
cd ..

Then each time a new terminal is opened the framework should be activated:

cd esp-idf; . ./export.sh; cd ..

There is a sample configuration file sdkconfig.ttgo-t-display for TTGO T-Display configured in landscape mode.

You can rename it to sdkconfig or configure the drivers library for another device using following command:

idf.py menuconfig

To build the project execute:

idf.py build

And to flash the device and monitor the output (press ctrl-T and then ctrl-X to exit) use:

idf.py flash monitor

esp32-idf-lvgl's People

Contributors

mdaskalov avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

esp32-idf-lvgl's Issues

Display don't show anything,

Hi,

I followed the given guidelines, built, and uploaded the provided example for the Lilygo T-Watch. I used the provided SDK file and also tried changing the IDF version from 4.4.3 to 4.4.6. However, when I upload the code, the vibration motor starts to vibrate, but the display doesn't show anything. I've encountered the same behavior with the LVGL official ESP IDF library as well.

I would highly appreciate any suggestions or guidance to address this issue.

Thank you,
Devinda

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.