Closed GustavoKatel closed 2 months ago
Those ST7789 displays without a CS pin can be really annoying and shouldn't exist, but you can usually get them to work by using MODE_3
.
I don't see anything wrong with your code at first glance. If you like you can upload the entire project somewhere and I can try to reproduce the issue.
@rfuest that would be really helpful!
here's a cleanup code: https://github.com/GustavoKatel/esp-rs-st7789-test
btw forgot to mention I'm using an esp32c3 super mini
tested this repro and same result. unfortunately I do not have other board to test :(
I've just tried your code and it did work without any changes:
For the picture I've changed the code a bit to draw mipidsi's TestImage
and enabled color inversion in the builder call to get the correct colors. But even without those changes the display worked and showed a solid color.
I guess that either your display module was DOA or something with your wiring isn't correct.
@rfuest thank you so much for taking the time to test the code. I managed to get another display and it is indeed working as expected.
Those ST7789 displays without a CS pin can be really annoying and shouldn't exist, but you can usually get them to work by using MODE_3.
I believe this seems to be the case for this issue :/
the usual: I'm very new to esp-rs, esp32 and such, so bear with me
none of the above worked :(
any tips on how to troubleshoot this?
Here's my code: