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: RomaniaPosts: 25 |
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: AustraliaPosts: 896 |
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: RomaniaPosts: 25 |
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 KingdomPosts: 6783 |
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: AustraliaPosts: 896 |
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 KingdomPosts: 6783 |
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: RomaniaPosts: 25 |
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: AustraliaPosts: 896 |
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: RomaniaPosts: 25 |
Now it's OK Thank you very much! Teo |
||||
Print this page |