Skip to content
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

Wrong color values on Ras.Pi-Pico and waveshare LCD #3593

Open
AchimJenne opened this issue Dec 24, 2024 · 0 comments
Open

Wrong color values on Ras.Pi-Pico and waveshare LCD #3593

AchimJenne opened this issue Dec 24, 2024 · 0 comments

Comments

@AchimJenne
Copy link

The TFT_eSPI lib- implementation is great for me and I like it, because it is helpful and flexible for my designs!
I am using TFT_eSPI, TFT_eWidget (latest) and the Arduino IDE (2.3.4).
My Arduino-designs are running on Raspberry Pi Pico(RP2040) and the waveshare 3.5" (Pico-ResTounch-LCD3.5, SPI, ILI9488, 480x320 pixel, https://www.waveshare.com/wiki/Pico-ResTouch-LCD-3.5)

My problem is, the color is not right - it has the 1-complement value of the right color.
I fixed it for my designs in the lib- code, but after an update ... (the problem was back)
At the moment, I am doing the complement in my designs, like "~TFT_WHITE" ... . It works fine but it's looking :| and bring up some additional warnings from the c-compiler ('unsigned conversion from 'int' to 'uint16_t').
Q: ist it helpful and possible to fix it in the lib?
May be this Pico/ILI9488 is a very special combination and If I am the only one, the fix is not needed. But this LCD was offered any more in Germany (https://www.berrybase.de/3-5-zoll-touch-display-modul-fuer-raspberry-pi-pico-65k-farben-480-320-spi)
Does it make sense to implement this correction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant