Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run on Raspberry pi zero but get two same contents in one frame #31

Closed
HapCoderWei opened this issue Feb 14, 2023 · 1 comment
Closed

Comments

@HapCoderWei
Copy link

Hello, i compiled this project and run it on my raspberry pi zero system, and then it display as two same picture at the same time.
Hardware and System is as below:
Hardware: Raspberry Pi Zero W Rev 1.1
OS: Raspbian GNU/Linux 11 (bullseye) armv6l
Kernel: 5.15.84+

The display is a 240x240 TFT screen which displays the /dev/fb0 content by the fbtft repo, so it should work as a laptop display.
I also compiled this project on my ubuntu laptop, which is work well as this blog(https://blog.lvgl.io/2018-01-03/linux_fb).

So does anyone know the difference, thanks!
lvgl_rpi

@HapCoderWei
Copy link
Author

Oh, i figure it out! I changed the LV_COLOR_DEPTH to 16 from 32 in lv_conf.h which is the reason. After write LV_COLOR_DEPTH=32 the display is work well.
This issue have been solved! Best wishes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant