Skip to content

Commit 45e47de

Browse files
committed
update lvgl example
1 parent f564e5e commit 45e47de

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

examples/graphics/lvgl_demo/src/example_lvgl.c

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
/**
2-
* @file example_spi.c
3-
* @brief SPI driver example for SDK.
2+
* @file example_lvgl.c
3+
* @brief LVGL (Light and Versatile Graphics Library) example for SDK.
44
*
5-
* This file provides an example implementation of an SPI (Serial Peripheral Interface) driver using the Tuya SDK.
6-
* It demonstrates the configuration and usage of SPI communication to interact with peripheral devices such as sensors,
7-
* memory chips, and other microcontrollers. The example covers initializing the SPI bus, configuring SPI parameters
8-
* (mode, frequency, data bits, bit order), sending data to a peripheral device, and deinitializing the SPI bus after
9-
* communication is complete.
5+
* This file provides an example implementation of using the LVGL library with the Tuya SDK.
6+
* It demonstrates the initialization and usage of LVGL for graphical user interface (GUI) development.
7+
* The example covers setting up the display port, initializing LVGL, and running a demo application.
108
*
11-
* The SPI driver example aims to help developers understand how to use SPI communication in their Tuya IoT projects for
12-
* applications requiring high-speed serial data transfer. It includes detailed examples of setting up SPI
13-
* configurations, handling data transmission, and integrating these functionalities within a multitasking environment.
9+
* The LVGL example aims to help developers understand how to integrate LVGL into their Tuya IoT projects for
10+
* creating graphical user interfaces on embedded devices. It includes detailed examples of setting up LVGL,
11+
* handling display updates, and integrating these functionalities within a multitasking environment.
1412
*
15-
* @note This example is designed to be adaptable to various Tuya IoT devices and platforms, showcasing fundamental SPI
16-
* operations critical for IoT device development.
13+
* @note This example is designed to be adaptable to various Tuya IoT devices and platforms, showcasing fundamental LVGL
14+
* operations critical for GUI development on embedded systems.
1715
*
1816
* @copyright Copyright (c) 2021-2024 Tuya Inc. All Rights Reserved.
1917
*

0 commit comments

Comments
 (0)