avatar

松果工作室

欢迎光临

  • 首页
  • freeRTOS
  • LVGL
  • ESP
  • 开发手册
  • 快速笔记
  • 个人收藏
  • 时事记录
  • 考察日志
  • 工具
Home LVGL(二) 定时回调
文章

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

ESP32(八) 简单的webserver

NEWER

LVGL(三) 对象中创建对象

Recently Updated

  • ESP32(十) BLE OTA
  • ESP32(九) BLE GATTS
  • LVGL(四) 动画
  • LVGL(三) 对象中创建对象
  • LVGL(二) 定时回调

Trending Tags

LVGL WCH Linux Elec freeRTOS STM ESP Flutter Others SwiftUI

Contents

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

Using the Halo theme Chirpy