-
Notifications
You must be signed in to change notification settings - Fork 167
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
Abnormal color display on LCD with RP pico #322
Comments
Hello! I have fixed this issue in PR: lvgl/lv_micropython#73 |
I pulled the repo again and rebuilt a firmware, but found an error when running Thonny: MPY: soft reboot Process ended with exit code 1. MPY: soft reboot
The display screen shows snowflakes: Here is the Thonny's backend.log |
Please send your MicroPython code (I'm interested in display creation, and whether LVGL loop is initiated, and screenshot of serial port output (console output) when you restart. Attach these to the new comment. |
Sure, my code is generic-st77xx-with-xpt2046.py in your examples. I only changed |
Hello @yusuhua , Note, that Pico has not so much memory, so increase This is how I connected ILI9341 display to Pico (without touch part): Code:
|
Great! |
Recently, I used the latest master to compile the firmware of RP pico. When I ran examples/generic-st77xx-with-xpt2046.py, I found an error. I changed line 416 of st77xx.py from lv.disp_create to lv.display_create and it ran successfully, but It is found that the color display is abnormal, as shown in the figure:
The white background turned to light green, and the buttons turned to yellow.
After adding the bgr=True parameter, the button is blue, but the white background is still light green, and the text looks blurry.
The device I'm using is: https://www.waveshare.com/Pico-ResTouch-LCD-2.8.htm
The text was updated successfully, but these errors were encountered: