MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > b) Core Functions > leUpdate Function
MPLAB® Harmony Graphics Suite
leUpdate Function

Type: void leUpdate(uint32_t dt) 

This function updates the active Legato library context state. It performs event processing as well as servicing of the widget paint loop. It should be called often.

C
LIB_EXPORT leResult leUpdate(
    uint32_t dt
);
Parameters
Parameters 
Description 
uint32_t dt 
a delta time, typically expressed in milliseconds, since the last time leUpdate was called. If this value is zero then time-dependent features will not advance. 
MPLAB® Harmony Graphics Suite