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

My screen is 240x280,How should I modify parameters to fit the screen. #26

Open
3233537658 opened this issue Jan 12, 2024 · 1 comment

Comments

@3233537658
Copy link

I made changes here

WIDTH_240 = [(240, 280, 0, 20),
(280, 240, 20, 0),
(240, 240, 0, 80),
(240, 240, 80, 0)]

1705062662987

But there is still a large part below that cannot show how to make changes

@devbis
Copy link
Owner

devbis commented Jan 14, 2024

According to Bodmer/TFT_eSPI#1681 the offset should be 20.

st7789.ST7789(spi, 280, 240, xstart=20 (or ystart=20))

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

2 participants