Feanor314
Posts: 19
Joined: Mon May 11, 2020 7:08 am

SPI LCD screen Color inverted

Tue Jun 02, 2020 5:30 pm

Hi!

I have used this tutorial to display my screen by SPI and it works but the colors are inverted. Why?
https://github.com/birdtechstep/tinydrm

How to resolve it?

Thank you

Feanor314
Posts: 19
Joined: Mon May 11, 2020 7:08 am

Re: SPI LCD screen Color inverted

Thu Jun 04, 2020 7:23 am

As you can see on the picture, the color is inverted (black is white, white is black , and when I invert color on a software, colors are normal).

here is the ili9488.c file : https://github.com/birdtechstep/tinydrm ... /ili9488.c
Attachments
20200603_150051.jpg
20200603_150051.jpg (241.12 KiB) Viewed 185 times

George441
Posts: 22
Joined: Tue Jan 21, 2020 4:13 pm
Location: 571 Willow Oak Dr 36695, Mobile, AL, US
Contact: Website

Re: SPI LCD screen Color inverted

Thu Jun 04, 2020 7:56 am

Please check this https://github.com/notro/fbtft/issues/160
I guess it might help you.
*************************************************************************
"Save a Tree - Save The Environment - Save Your Life "
=========================================================

Return to “Interfacing (DSI, CSI, I2C, etc.)”