Skip to content

codegrue/WS32SC01-LVGL-Sound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3c89bb5 · Apr 22, 2024

History

10 Commits
Feb 1, 2024
Feb 1, 2024
Apr 22, 2024
Feb 15, 2024
Apr 22, 2024
Apr 22, 2024
Feb 1, 2024
Apr 22, 2024
Feb 15, 2024
Apr 22, 2024
Apr 22, 2024
Apr 22, 2024

Repository files navigation

alt text

This sample demonstrates how to run LVGL on the Panlee WT32SC01 Plus development board. It includes a label, a counter, and a button to increment the value.

alt text

Board: https://www.aliexpress.us/item/3256804081022016.html?spm=a2g0o.order_detail.order_detail_item.3.5074f19cbai5dc&gatewayAdapt=glo2usa

Manufacturer: https://wireless-tag.en.alibaba.com/

None of the included samples did a good job at packaging a runnable demo, so I created this one in PlatformIO (VSCode) to provide an out of the box runnable demo. Hope it is useful.

Notes:

  • It uses LovyanGFX to buffer the drawing and dump to the screen
  • lv_conf.h only has two changes: - enabled LV_TICK_CUSTOM - activated LV_FONT_MONTSERRAT_24 - enabled LV_USE_LOG and set the level to LV_LOG_LEVEL_ERROR
  • it uses a custom "WT32SC01" in the "Boards" folder because this doesn't exist in the PlatformIO library
  • graphics.h encapselates the boilerplate code for LovyanGFX and LVGL
  • user_interface.h encapselates the UI functions
  • main.cpp is clean with just the normal setup() and loop() functions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published