olikraus / ucglib

Arduino True Color Library for TFTs and OLEDs
https://github.com/olikraus/ucglib/wiki
Other
261 stars 76 forks source link

colors issue 1,8'' 128x160 TFT #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Everything seems work fine but colors. When i power up module white screen 
appears. To make it black i have to write rectangle with (255,255,255).

The colors seems to be inverted (but not exacly): 
(255,255,255) is black and (0,0,0) is white, red is (0,255,255) and so on.
The colors that uses half tone(not 0 or 255) -  oragne for example  are hard to 
display.

What steps will reproduce the problem?
1. nothing, just connect it and try

What is the expected output? What do you see instead?
different color than the should be;

What version of the product are you using? On what operating system?
http://www.banggood.com/1_8-Inch-Serial-SPI-TFT-LCD-Display-Module-With-Power-IC
-SD-Socket-p-909802.html

arduino mega/nano/pro mini - the same effect
windows 8.1x46 (but ot doesn't matter)

Please provide any additional information below.
Please add function to map colors propperly.
Thank You
Przemek

Original issue reported on code.google.com by pparsn...@megapremiera.pl on 21 Oct 2014 at 8:42

olikraus commented 9 years ago

not sure why i did not respond here... but difficult tu say anyway....