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

Support larger LCDs #103

Open
JosephHewitt opened this issue Aug 13, 2023 · 2 comments
Open

Support larger LCDs #103

JosephHewitt opened this issue Aug 13, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@JosephHewitt
Copy link
Owner

Right now the LCD parameters are hardcoded. It would be good to allow larger displays with larger font sizes.

@JosephHewitt JosephHewitt added the enhancement New feature or request label Aug 13, 2023
@Shadesh
Copy link

Shadesh commented Aug 13, 2023

Just make the variables

SCREEN_WIDTH 128
SCREEN_HEIGHT 32

adjustable via the cfg.txt

@JosephHewitt
Copy link
Owner Author

That is the general idea, however the display is initialized much sooner than the cfg.txt being loaded. The display is meant to be one of the first things to load so that any early errors can be displayed on boot.

Hopefully if a larger display is used, it can still be initialized using the old values then can be re-initialized using the correct values later on. This would mean that any boot errors are displayed in a small font, but that's probably a "good enough" implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants