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

Display dimensions mismatch with default orientation #3387

Open
VeniceInventors opened this issue Jul 2, 2024 · 0 comments
Open

Display dimensions mismatch with default orientation #3387

VeniceInventors opened this issue Jul 2, 2024 · 0 comments

Comments

@VeniceInventors
Copy link

The WT32-SC01 uses portrait orientation by default, and seems to require

#define TFT_WIDTH 320
#define TFT_HEIGHT 480

in

#define TFT_WIDTH 480

otherwise once the display rotation is set to 1 or 3 (90/270 rotation), some functions like fillscreen don't write anything between x:320 and x:479

(also, SPI_FREQUENCY can safely be set to 40MHz instead of 27MHz)

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