Files
TTGO_TWatch_Library/examples/lvgl/widgets/msgbox/msgbox.ino
2023-05-08 19:41:54 +08:00

34 lines
534 B
C++

/**
* @file msgbox.ino
* @author Lewis He (lewishe@outlook.com)
* @license MIT
* @copyright Copyright (c) 2023 Shenzhen Xinyuan Electronic Technology Co., Ltd
* @date 2023-04-30
*
*/
#include <LilyGoLib.h>
#include <LV_Helper.h>
extern "C" {
void lv_example_msgbox_1(void);
};
void setup()
{
Serial.begin(115200);
watch.begin();
beginLvglHelper();
//Tips : Select a separate function to see the effect
lv_example_msgbox_1();
}
void loop()
{
lv_task_handler();
delay(5);
}