lv_label_bind_text() function
Bind an integer, string, or pointer subject to a label.
Arguments
subject
pointer to a subject
fmt
optional format string with 1 format specifier (e.g. "%d °C") or NULL to bind the value directly.
Return value
pointer to the created observer
Notes
fmt == NULL can be used only with string and pointer subjects. if the subject is a pointer must point to a `\0` terminated string.