Description
What MCU/Processor/Board and compiler are you using?
stm32f4discovery
What LVGL version are you using?
v7.11.0-dev
What do you want to achieve?
Print the value of variables
What have you tried so far?
RTC_GetTime(RTC_Format_BIN, &RTC_DateTime);
sprintf(clock_buf, " %02d:%02d:%02d\r\n", RTC_DateTime.RTC_Hours,
RTC_DateTime.RTC_Minutes, RTC_DateTime.RTC_Seconds);
LCD_setCursor(180, 5);
LCD_setTextColor(WHITE);
LCD_setTextBgColor(BLUE);
LCD_setTextSize(2);
LCD_writeString((unsigned char*) clock_buf);
Code to reproduce
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.
The code block(s) should be formatted like:
/*You code here*/
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.
how to do the same with LVGL? Thank.