• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Timer usage in the v1.5 update

Q&A Forum › Category: Questions › Timer usage in the v1.5 update
0 Vote Up Vote Down
tony mollica asked 1 day ago

Your inclusion of lvgl timers is timely as I’ve been trying to work out a couple of display updates by various methods.  I think more information on the LVGL timers would be an advantage.  What I don’t see in the new code are calls to the lv_timer_handler() that’s recommended to run either in the main loop or somewhere else in the code.  My question is why is the lv_timer_handler() function not used anywhere in the new code?

Question Tags: data, Interrupts, screen, timers, updates
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 23 hours ago

Hi.
I think we overlooked that small detail.
However, the code is working as expected. I think that is because we’re creating the timer inside an LVGL task that will be handled by the lv_task_handler() function in the loop. In this case, the lv_task_handler will handle all tasks, including the timers.
 
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn LVGL: Build GUIs for ESP32 Projects – Version 1.5 July 7, 2025
  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.