-
Notifications
You must be signed in to change notification settings - Fork 437
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
Using two GC9A01 multiple displays at the same time #276
Comments
Hello @poky ,
|
Thank you @tore-espressif Another question, if I want to make it mirror, according to the LVGL doc
I now have :
Could you suggest how do I suppose to send dis1's buffer to dis2? Thanks! |
Good job :) I've never tried mirroring, but this is the idea:
|
Thank you! I have figured out how to do it, this issue may closed |
Hi, all I'm trying to use multiple display with lv_port_esp32 lib and lvgl_esp32_drivers
Both displays are shared the same SPI (SCL, SDA, DC) control by different CS pins (14 & 15)
I have modified the lvgl_helpers.c to allow register both displays
As well the disp_spi.c to allow spi_bus_add_device for different CS pin
With use of lv_obj_t *scr1 = lv_disp_get_scr_act(dis1) & lv_obj_t *scr1 = lv_disp_get_scr_act(dis2)
To switch between displays, however, only the last init display shows graphs
I suspect the dis1 and dis2 are the same, is there any way to tell which is which by printout display information?
Also thought of the disp_driver_flush callback from this line:
It ends here:
It didn't use the variable "drv", how does it know which display to flush?
I have seem other drivers using this in the end of function:
However, it does not help... any thought will be appreciate!
The text was updated successfully, but these errors were encountered: