Tags:
tag this topic
create new tag
view all tags
---+ GUI programming with LVGL ---++ Introduction Very often, the microcontroller part of an !IoT project allows user interaction only though the network connection, e.g. through a program with graphical user interface (GUI) on a PC. Sometimes however, it may be interesting to be able to interact with the device also locally. The !LoLin 2,4" TFT display has 320x240 pixels and an integrated touch screen (see [[TFT display]]. This device is powerful enough to run graphical user interfaces. ---++ LVGL Most GUI libraries require computing resources which are simply not available on a microcontroller. The %BLUE%Li%ENDCOLOR%ght and %BLUE%V%ENDCOLOR%ersatile %BLUE%G%ENDCOLOR%raphics %BLUE%Li%ENDCOLOR%brary ( [[https://docs.lvgl.io/latest/en/html/index.html][LVGL]]) however, has been designed to be used on such resource restricted devices. The library is written in C but a !MicroPython language binding is available. Adding the library to the !MicroPython firmware is not exactly trivial and therefore a special version of !MicroPython, [[https://github.com/lvgl/lv_micropython][lv_micropython]], has been developed, integrating everything that is needed to access LVGL from !MicroPython. LVGL comes with a big number of small example programs showing the use of all of its widgets (GUI components) written in C and in !MicroPython. -- %USERSIG{UliRaich - 2022-05-23}% ---++ Comments %COMMENT%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2022-05-23
-
UliRaich
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
IoT_Course_English Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback