-
Notifications
You must be signed in to change notification settings - Fork 143
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
Page change problem and colors #15
Comments
@boromyr You mean the code generated by LBVGLBuilder crashed on the embedded device, right? |
https://github.com/mrQzs/Lvgl_Simulator |
@boromyr Well, I will fix this problem as soon as I have time. |
An extremely basic test. |
@boromyr I read the code. Is the exported code incomplete?If there are multiple pages, you need to export the code for each page. I will add the function of exporting all page codes later. |
@boromyr At present, there is no problem in the code logic. The effect is that page1 jumps to page1. I changed it to page1 to jump to page2. |
Then I guess the exported code was wrong, surely I forgot to save. Before loading the firmware, I had started the simulation in LVGLBuilder, and it worked. |
@boromyr A little embarrassed, because I still do not understand what you are experiencing specific problems. |
The problem is that the screen crashes when I try to change pages via a button. The configuration of the code was correct, I made a mistake in sending the files. |
@boromyr I tested the code ,it can run normally. You mean the program crashes when the page jumps during the simulation run, right? Do you remember the steps to reproduce the problem? |
@boromyr The current program's image conversion is to directly convert png to RGB565, and some images require rgb565+alpha to display correctly。 Later I will add more conversion format options, and add color depth options when creating new projects. |
Hi, first of all congratulations for the software, it's beautiful.
I wanted to report some problems that I am finding, even if the software is still in beta and it is normal that there is a few bugs.
I tried to create two screens with some test widgets, setting a simple page change from 1 to 2 and 2 to 1, in the simulator the page change takes place correctly, but in the TFT this does not happen, and crashes to the gearbox page.
Event_1#Clicked#Change Screen#Page_2#None#150#0#
On some "Button Image" colors are reversed if converted via LVGLBUILDER (from .png to .c RGB565), others are seen correctly. I made a counter-finder to convert an image from the LVGL website, and the colors are respected.
MCU:ESP32;
Framework: Arduino;
IDE: PlatformIO VSCode;
OS: Windows 10 x64;
TFT: TouchScreen, SPI, ILI9341, 16bit;
Driver: TFT_eSPI;
LVGL 7.11.0;
Code from LVGL_ARDUINO used:
The text was updated successfully, but these errors were encountered: