avatar

松果工作室

欢迎光临

  • 首页
  • ESP
  • LVGL
  • freeRTOS
  • 快速笔记
  • 考察日志
  • 个人收藏
  • 我的服务
Home (ESP-IDF)LVGL定时回调
文章

(ESP-IDF)LVGL定时回调

Posted 2025-06-14 Updated 2025-06- 14
By YCP
1~1 min read

每1秒执行一次回调内容

static void update_time(lv_timer_t *timer){
  //update
}

v_obj_t *lv_example_time_page(lv_obj_t *scr){
  time_timer = lv_timer_create(update_time, 1000, NULL);
    lv_timer_ready(time_timer);
}
LVGL
License:  CC BY 4.0
Share

Further Reading

OLDER

(ESP-IDF)LVGL对象中创建对象

NEWER

(Flutter)导航栏

Recently Updated

  • (ESP-IDF)LVGL 模拟器
  • (ESP-IDF)LVGL 自定义对象加入编码器组
  • (ESP-IDF)vscode配置文件
  • (Elec)来复再生式晶体管单管收音机
  • (ESP-IDF)ESPNOW

Trending Tags

LVGL WCH Linux Elec ThatProject freeRTOS STM ESP Flutter Others

Contents

©2026 松果工作室. Some rights reserved.

Using the Halo theme Chirpy