Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ST7789 (240*240) gives a blurry vertical lines with Arduino pro micro! #23

Open
HMI1973 opened this issue Aug 4, 2024 · 0 comments
Open

Comments

@HMI1973
Copy link

HMI1973 commented Aug 4, 2024

I'm working on ST7789 (240*240) from Aliexpress without CS pin, I used Arduino Pro Micro but actually the screen doesn't show the text nor the graphics correctly, it gives a kind of blurry vertical lines.

ST7789 Wiring :
Wiring - Pro-Micro

What I get is a blurry result:
ST7789

I'm trying to investigate the case but anyone faced this issue before?
Code:

#include "src/ST7789_AVR.h"

#define TFT_CS  -1 // without CS
#define TFT_RST  8
#define TFT_DC   9

#define SCR_WD 240
#define SCR_HT 240

ST7789_AVR lcd = ST7789_AVR(TFT_DC, TFT_RST, TFT_CS);
int xx=0;

void setup(void) 
{
	delay(2000);
	Serial.begin(115200);
	lcd.init(SCR_WD, SCR_HT);
	lcd.fillScreen(BLACK);
	lcd.fillScreen(BLUE);
}

void loop()
{
	xx=(xx+1)%40;
	lcd.setCursor(xx, 10);
	lcd.setTextColor(WHITE,BLUE);
	lcd.setTextSize(2);
	lcd.println("HELLO WORLD");
}
@HMI1973 HMI1973 changed the title White vertical lines Blurry vertical lines with Arduino pro micro! Aug 4, 2024
@HMI1973 HMI1973 changed the title Blurry vertical lines with Arduino pro micro! ST7789 (240*240) gives a blurry vertical lines with Arduino pro micro! Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant