lv_test_helpers.h
Functions
-
void lv_test_wait(uint32_t ms)
Emulate a delay. It's not real delay, but it tricks LVGL to think that the required time has been elapsed.
lv_timer_handler
is called after each millisecond, meaning all the events will be fired inside this function. At the end the animations and display will be also updated.- Parameters:
ms – the number of milliseconds to pass
-
void lv_test_fast_forward(uint32_t ms)
Emulates some time passing. Update the animations and the display only once at the end.
- Parameters:
ms – the number of milliseconds to pass
-
static inline size_t lv_test_get_free_mem(void)