Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:51 25 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Colors inverted

Author Message
Teo1
Newbie

Joined: 06/05/2023
Location: Romania
Posts: 25
Posted: 10:35pm 07 Jun 2024
Copy link to clipboard 
Print this post

Hi everyone,
I want to use this display "https://www.buydisplay.com/lcd-5-inch-ips-ssd1963-tft-module-touch-screen-display-800x480-mcu-arduino" and I found that it has the RED and BLUE colors inverted.
There is a possibility of reversing these colors using PICOMITE ?
Thanks in advance,
Teo
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 896
Posted: 11:36pm 07 Jun 2024
Copy link to clipboard 
Print this post

It could be in the lastest Picomite RC3 version as
OPTION LCDPANEL SSD1963_5ER_16 ,orientation

I noticed it while looking at the source, so just not documented in the manual as yet.

That is using it in 16bit mode.
8bit mode does not seem to be there so if not this may work.
Gerry
Edited 2024-06-08 09:43 by disco4now
Latest F4 Latest H7
 
Teo1
Newbie

Joined: 06/05/2023
Location: Romania
Posts: 25
Posted: 06:51am 08 Jun 2024
Copy link to clipboard 
Print this post

Thank you for your answer!
But, which GP do I use for the D8-D15?
Thank you,
Teo
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6783
Posted: 07:58am 08 Jun 2024
Copy link to clipboard 
Print this post

I'm not sure if SSD1963 displays are supported in 16-bit mode on the PicoMite. It's very wasteful of precious GP pins. You may have to stick to 8-bit mode, in which case just leave DB8-DB15 floating.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 896
Posted: 07:58am 08 Jun 2024
Copy link to clipboard 
Print this post

See this thread for 16bit It will need the special board described there.

To use 8bit you will have to see if peter will enable the SSD1963_5ER display. You could try the POKE DISPLAY commands I linked to above in the meantime. They may/should swap RED/ BLUE.
Latest F4 Latest H7
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6783
Posted: 08:12am 08 Jun 2024
Copy link to clipboard 
Print this post

Drat! I'd forgotten that! :)
I must be getting ancient....
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Teo1
Newbie

Joined: 06/05/2023
Location: Romania
Posts: 25
Posted: 09:26am 08 Jun 2024
Copy link to clipboard 
Print this post

Hi
Unfortunately "SSD1963_5ER" is inactive and I can't find any command for SSD1963
that reverses red with blue.
If you have any ideas, I appreciate it very much.
Teo
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 896
Posted: 10:39am 08 Jun 2024
Copy link to clipboard 
Print this post

Get it working with SSD1963_5 or SSD1963_5A with red blue reversed, then
use the matching command below to fix the colours.

POKE DISPLAY &H36,&H08               Landscape
POKE DISPLAY &H36,&H58               Portrait
POKE DISPLAY &H36,&H38               RLandscape
POKE DISPLAY &H36,&HB8               RPortrait

You may be able to put the POKE command in MM.STARTUP to automate it.
Latest F4 Latest H7
 
Teo1
Newbie

Joined: 06/05/2023
Location: Romania
Posts: 25
Posted: 10:55am 08 Jun 2024
Copy link to clipboard 
Print this post

Now it's OK
Thank you very much!
Teo
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024