Repository navigation
LVGL Examples
github-actions[bot] edited this page Nov 4, 2026
·
1 revision
These scripts also appear under LVGL graphics in Studio. They require MicroCS built with the LVGL binding and the corresponding LVGL widgets enabled. On hardware the firmware must initialise LVGL, the display, input and tick first; see the LVGL guide.
-
keyboard.cs: text area and on-screen keyboard. -
calendar.cs: a calendar with a highlighted date. -
canvas.cs: a colour-filled canvas buffer. -
arc_dashboard.cs: a timer updating an arc, bar and label. -
event_data.cs: event user data and object-tree traversal.
On the host, build make mcs-lvgl LVGL_DIR=/path/to/lvgl and run, for example, build/mcs_lvgl --lvgl=320x240 --sim examples/lvgl/arc_dashboard.cs. These interactive examples keep running until stopped. Widget availability depends on lv_conf.h.
Generated from the MicroCS repository (source branch · revision 37bd1f1). Edit the source files, not the wiki.
Start here
Step-by-step guides
- Guides
- Guide PC Simulator
- Guide ESP32
- Guide ESP32 C3 OLED
- Guide Raspberry Pi Pico
- Guide STM32
- Guide Arduino
- Guide Zephyr
- Guide Peripheral Settings
- Guide DMA
Hardware
- Hardware API
- Power Management
- Bluetooth LE
- CAN Bus
- Rotary Encoders
- Peripheral Configuration
- DMA
- Device Drivers
- Wi Fi and Networking
- U8g2 Displays
- LVGL Graphics
- Filesystem
- Threads
- Scheduler
Ports
- Porting and Build Systems
- Port ESP32
- Port RP2040 RP2350
- Port STM32
- Port STM32 Firmware
- Port Zephyr
- Port NuttX
- Port Arduino
C# and the runtime
- Language
- Standard Library
- JSON
- Standalone Firmware
- MicroCS Studio
- Web Flasher
- Studio Template Authoring
- Examples
- LVGL Examples
Embedding and tuning
- Embedding
- Configuration
- Small MCUs
- Memory Budgets
- Low RAM Firmware Example
- Performance
- Runtime Benchmark Comparison
- Lua Host Benchmark
Internals
Project