Skip to content

ST7735 lib - Text mirror problem #157

Open
@classic-audio

Description

@classic-audio

Display: 80x160 color TFT display (driver ST7735S SPI )
Arduino: Arduino ProMini 3V3

I have downloaded the latest Adafruit-ST7735-Library yesterday.

The problem:
The text is displayed mirrowed (see pickture below)

The question: how can I correct that problem?

display

The test sketch:

#include <Adafruit_GFX.h>
#include <Adafruit_ST7735.h>

Adafruit_ST7735 lcd = Adafruit_ST7735(9,10,8);
//--- LCD color def. --------------------------------
#define BLACK 0x000
#define BLUE 0x001F
#define GREEN 0x07E0
#define YELLOW 0xFFE0
#define WHITE 0xFFFF
#define GREY 0x652F
#define RED 0xF800
#define OLIVE 0x7BE0
#define ORANGE 0xFD20

void setup(void){
// --- Display -----------------------------------
lcd.initR(INITR_MINI160x80);

lcd.invertDisplay(1);
lcd.setRotation(2);
lcd.fillScreen(BLACK);
}

void loop(){
lcd.setTextColor(GREEN);
lcd.setCursor(0,0);lcd.print("CLASSIC AUDIO");
lcd.setTextColor(RED);
lcd.setCursor(0,15);lcd.print("DESIGN");
lcd.setTextColor(YELLOW);
lcd.setCursor(0,25);lcd.print("Attenuator");
while(1);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions