Way to Rotate lvgl example?

Hi,

I have been working on a project involving an LCD screen using the LVGL sample as a base. However, it would be nice if I could rotate either the text itself or the screen by 90 degrees. I tried the lv_disp_set _rotation command found in lv_hal_disp.c but rather than rotating the screen it just broke the display. The same thing happens if I flip the width and height in the overlay. 1) is this error some how caused by the lv_disp library and 2) is there a fix for this? I am using the SH1107 OLED which is compatible with the ssd1306 drivers and I am using an unedited version of the lvgl example. Any help would be appreciated.

Thanks!

Parents Reply
  • Hi,

    Reading through those right now and working on implementing the little patch thing they are talking about. It's a little hard to describe how the display breaks exactly. It creates a little jumble of letters and numbers to the center right and there are little white streaks across the screen.

    Do you happen to know where the flush callback is in this example?

Children
No Data
Related