-
Notifications
You must be signed in to change notification settings - Fork 294
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
Support for displays without DC pin? #79
Comments
Hi, I think you have the ST7735S display, isn't? Can you test this branch? https://github.com/lvgl/lvgl_esp32_drivers/tree/feat/support_no_dc If this works we could start adding support on all other drivers. |
I will and let you know. |
The changes in that branch doesn't take into account the fact that the DC signal tells the display if the bytes it's getting from the MCU are a command or data. |
@C47D sorry it isn't working, getting garbage on the screen. |
I guess that's expected, the DC signals lets the display know if the data is a data or a command, what display are you working on? Could you share me an image of the connection? |
Yes, but with DC pin selected it works fine as expected. |
You just answered it, the display needs the DC signal to work, you can't use it without it. |
I don't get it. Are you saying that the display I have can not work without the DC pin? exactly what I am trying to achieve? |
Yes, I think so, your project works with the DC signal and it doesn't work without it.
Yes. The only displays I think work without DC signal are the I2C based ones. |
Unfortunately, I don't have one. maybe in future someone will test it. |
In menuconfig, there is a option to enable or disable the DC. However I beleive none of the drivers implemented it. Having such functionality will improve the usability of the driver, saving one more pin, and support Displays modules with no DC pin exposed.
Even though, I had hard time finding a driver which works without a DC pin, but found some hints to a 9-Bit SPI mode?
The text was updated successfully, but these errors were encountered: