avatar

松果工作室

欢迎光临

  • 首页
  • ESP
  • LVGL
  • CubeMX
  • 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

(LVGL)案例预览 动画

NEWER

(Flutter)导航栏

Recently Updated

  • [CubeMX] SPI
  • [CubeMX] 串口 DMA
  • [CubeMX] 基础工程配置
  • (LVGL)接口预览 样式
  • (LVGL)案例预览 页面滚动吸附

Trending Tags

LVGL WCH Linux Elec ThatProject freeRTOS STM ESP Flutter Others

Contents

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

Using the Halo theme Chirpy