lvgl / lvgl

Embedded graphics library to create beautiful UIs for any MCU, MPU and display type.
https://lvgl.io
MIT License
16.91k stars 3.27k forks source link

Documentation / Help request: Simulating an OLED #6996

Open mado89 opened 1 month ago

mado89 commented 1 month ago

Hi, I am on the lookout for input on how to simulate a monochrome OLED display (128x64px). Can this be done with SDL while the simulated code uses lv_ functions? Thanks

kisvegabor commented 1 month ago

I moved this issue to the main LVGL repo as the SDL driver is locate here.

It's really not supported now, but it's possible to add it to the SDL driver here. If the display's color format is I1 we should use ARGB8888 for SDL here and convert the indexed data to ARGB8888 in the flush_cb

If you have time an interest a PR would be very welcome :slightly_smiling_face:

lvgl-bot commented 4 weeks ago

We need some feedback on this issue.

Now we mark this as "Abandoned" because there was no activity here for 14 days.

Remove the "Stale" label or comment else this will be closed in 7 days.

kisvegabor commented 3 weeks ago

PR opened, see https://github.com/lvgl/lvgl/pull/7036

lvgl-bot commented 1 week ago

We need some feedback on this issue.

Now we mark this as "Abandoned" because there was no activity here for 14 days.

Remove the "Stale" label or comment else this will be closed in 7 days.

kisvegabor commented 4 days ago

https://github.com/lvgl/lvgl/pull/7036 is ready and being reviewed.

mado89 commented 4 days ago

Thanks for your efforts. I will check when I have time again (currently working on a different project, sorry)