MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laListWheelWidget_SetRotationUpdateRate Function
MPLAB® Harmony Graphics Suite
laListWheelWidget_SetRotationUpdateRate Function

When a wheel is in momenum mode it may be too costly to update with every Aria update loop call. This value can delay a wheel update. For instance, if Aria is updating every 20ms, the wheel can be set to update every 60ms and it will update approximately every three to four Aria updates. This can cut down on the number of repaints the wheel needs to perform and can also slow the wheel down it if is rotating too fast for the application to handle. This value is typically expressed in milliseconds.

C
LIB_EXPORT laResult laListWheelWidget_SetRotationUpdateRate(
    laListWheelWidget* whl, 
    uint32_t ms
);
Parameters
Parameters 
Description 
laListWheelWidget* whl 
the widget 
uint32_t ms 
the desired rotation update rate 
Returns

laResult - the operation result

MPLAB® Harmony Graphics Suite