|
1 | 1 | /** |
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. |
4 | 4 | * |
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. |
10 | 8 | * |
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. |
14 | 12 | * |
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. |
17 | 15 | * |
18 | 16 | * @copyright Copyright (c) 2021-2024 Tuya Inc. All Rights Reserved. |
19 | 17 | * |
|
0 commit comments