2023-02-22 01:58 AM
When changed the setExpandedStateTimeout of the slide control the delay is not as expected, when placina a value of 4000 instead of 4 seconds I'm getting a very long delay and when placing 100 Im getting around 4 seconds
2023-02-23 06:36 AM
Hello AAlis.23,
Remember that this function takes a value in ticks as described in the API, it's not in millisecond.
The tick value depends on your hardware capabilities&configuration and your application of course (if it's heavy, if you have animations, how many images do you render, etc...)
/Osman
2023-02-23 10:11 AM
oh... I thought ticks are in ms like other OS. Ok.. Is there any function to check the ratio ticks per second?
2023-02-24 01:10 AM
Hello,
No there's no function because as I said it depends on the real time running. By default, 1 tick should be close to 16 ms but if you run heavy animations, you can "miss" ticks because of calculations by your MCU. I invite you to read this article for complete description of performance of your embedded graphical user interface.
/Osman
2023-02-24 08:04 AM
Thanks!