adafruit / Adafruit-ST7735-Library

This is a library for the Adafruit 1.8" SPI display http://www.adafruit.com/products/358 and http://www.adafruit.com/products/618
https://learn.adafruit.com/1-8-tft-display
565 stars 305 forks source link

Problem - driving TFT 80x160 ST7735 display #103

Open classic-audio opened 4 years ago

classic-audio commented 4 years ago

I have now been working on TFT TFT 80x160 ST7735 display for several days until I realised your replay to the previus issue. It is possible to re-install older versions. I ha ve 3 major project using this display and after the update to your latest version non of the prjects were funtional. At the same time I have ordered new displays and of course I was thinking that was the problem.

But no. I replaced the current version of the library with 1.5.5. and all my sketches worked again.

There is still a color definition problem but I solved that by changing: File: Adafruit_ST77xx.h

define ST77xx_MADCTL_RGB 0x00

changed too

define ST77xx_MADCTL_RGB 0x08

I hope you will fix your "updates" It will be a long time from now before I will implement updates again !!!

Thank you for opening an issue on an Adafruit Arduino library repository. To improve the speed of resolution please review the following guidelines and common troubleshooting steps below before creating the issue:

If you're sure this issue is a defect in the code and checked the steps above please fill in the following fields to provide enough troubleshooting information. You may delete the guideline and text above to just leave the following details:

makermelissa commented 4 years ago

Hi, is the specific Mini TFT display you are using an Adafruit product? Which board/microcontroller are you using to drive your MiniTFT? The reason I ask is because I would like to be able to reproduce this and make sure changing one thing doesn't break things for others. Thanks.

classic-audio commented 4 years ago

The display (picture attached below. Microcontroller used: Arduino UNO Arduino Nano Arduino ProMini3V3

I have been using all these controller because I was trying to indetify whats wrong. UNO and Nano was used with a level shift of course.

I would really hope you also solve the color problem at the same time :)

The problem with the latest of your update is: no display at all or very weak strange display or the display "snow only".

Display80x160

makermelissa commented 4 years ago

It seems there may be a difference between the Adafruit 160x80 and this brand. In regards to the color scheme, I believe the adafruit one is BGR and this one says RGB. There may be other differences.

classic-audio commented 4 years ago

So no solution at all.

makermelissa commented 4 years ago

Just no solution yet. I'm thinking we may need an additional init parameter for these types of displays so that the differences are initialized and it works correctly.

classic-audio commented 4 years ago

What happens now?

nekuneko commented 4 years ago

Please check if my pull-request #126 can solve the problem.