Call Ssd1963_select_reg(&He2)'PLL multiplier, set PLL clock to 120M Call Ssd1963_write_data(&H0023)'N=0x36 for 6.5M, 0x23 for 10M crystal Call Ssd1963_write_data(&H0002) Call Ssd1963_write_data(&H0004)
Call Ssd1963_select_reg(&Hba) Call Ssd1963_write_data(&H000f)'GPIO[3:0] out 1
Call Ssd1963_select_reg(&Hb8) Call Ssd1963_write_data(&H0007)'GPIO3=input, GPIO[2:0]=output Call Ssd1963_write_data(&H0001)'GPIO0 normal
Call Ssd1963_select_reg(&H08)'rotation - Set the read order from frame buffer to the display panel
'writing from bottom to top 'Call Ssd1963_write_data(&H0000) 'writing from top to bottom Call Ssd1963_write_data(&H0001) 'writing from right to left 'Call Ssd1963_write_data(&H0077) 'Call Ssd1963_write_data(&H0006)
Call Ssd1963_select_reg(&Hf0)'pixel data interface Call Ssd1963_write_data(&H0003)'16-bit (565 format)
...LCD display correctly direction and orientation (i test onlu portrait mode), but colors are different.
I trying to change bit 3 from register 36 of displays (RGB to BGR) but colors still has wrong, and colors are differend.
For example text witch schould be Red is Black
What can I do more, to LCD colors properly?
EDIT.....
PROBLEM RESOLVED...I CHANGE TFT panel data width by register B0:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum