{"id":18301395,"url":"https://github.com/lvgl/lv_port_maixduino","last_synced_at":"2025-04-05T14:30:53.046Z","repository":{"id":103901002,"uuid":"181311033","full_name":"lvgl/lv_port_maixduino","owner":"lvgl","description":"Maixduino GUI project with LVGL","archived":false,"fork":false,"pushed_at":"2019-07-15T10:42:25.000Z","size":5237,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-03T13:45:55.923Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lvgl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-04-14T13:12:54.000Z","updated_at":"2023-08-26T09:53:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"582f3721-512c-4628-b331-8a16e217c695","html_url":"https://github.com/lvgl/lv_port_maixduino","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_port_maixduino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_port_maixduino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_port_maixduino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_port_maixduino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lvgl","download_url":"https://codeload.github.com/lvgl/lv_port_maixduino/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247352301,"owners_count":20925245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T15:15:55.127Z","updated_at":"2025-04-05T14:30:52.028Z","avatar_url":"https://github.com/lvgl.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LittlevGL Arduino library\n\nThis library allows to use LittlevGL (v6.x) as an Arduino library. Library can be installed via Arduino IDE Library Manager or as an .ZIP library.\n\n## Example\n\nThere is simple example which uses https://github.com/Bodmer/TFT_eSPI library as an TFT driver to simplify testing. To get all this to work you have to setup TFT_eSPI to work with your TFT display type via editing the `User_Setup.h` file in TFT_eSPI library folder, or by selecting your own configurtion in the `User_Setup_Select.h` file in TFT_eSPI library folder.\n\nLittlevGL library has its own configuration file in `lv_conf.h` file, which is locatd in LittlevGL library folder. Please get in mind to check that corresponding resolutions in LVGL configuration match the ones in TFT_eSPI and with physical resolution of your display.\n\nExample result should look like this:\n\n![LVGL Arduino example result](extras/img/lvglarduino.jpg)\n\nTested with:\n\n  * My own ESP32 board, module ESP32 Wroom\n  * PC OS: Linux, Ubuntu 18.04 LTS\n  * IDE: Arduino IDE 1.8.9\n  * ESP32 Core: 1.0.2\n\n## Debugging\n\nIn case of trouble there are debug information inside LVGL. In the `ESP32_TFT_eSPI` example there is `my_print` method, which allow to send this debug information to the serial interface. To enable this feature you have to edit `lv_conf.h` file and enable logging in section `log settings`:\n\n```c\n/*Log settings*/\n#define USE_LV_LOG      1   /*Enable/disable the log module*/\n#if USE_LV_LOG\n/* How important log should be added:\n * LV_LOG_LEVEL_TRACE       A lot of logs to give detailed information\n * LV_LOG_LEVEL_INFO        Log important events\n * LV_LOG_LEVEL_WARN        Log if something unwanted happened but didn't caused problem\n * LV_LOG_LEVEL_ERROR       Only critical issue, when the system may fail\n */\n#  define LV_LOG_LEVEL    LV_LOG_LEVEL_TRACE\n```\n\nAfter enabling log module and setting LV_LOG_LEVEL accordingly the output log is sent to he `Serial` port @ 115200 Bd. After each line sent there is 100ms delay to allow the serial transfer to finish. This delay can be commentd out in `my_print` method.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvgl%2Flv_port_maixduino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flvgl%2Flv_port_maixduino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvgl%2Flv_port_maixduino/lists"}